Question :/
#1

-> Why use !strcmp, !strlen, etc... ?
-> What's the diference between static and new. ( i.g : new gTeam[MAX_PLAYERS]; static gTeam[MAX_PLAYERS];

Help? *_*
Reply
#2

When you put ! in front of things it means "false"... when a function returns 0 (false) and you have ! infront of that function, it becomes true.

For example, strlen returns false when the string length is 0. So:
!strlen("") = true
strlen("") = false
Reply
#3

Yes, and what about static and new gteam?
Reply
#4

Quote:
Originally Posted by Hot
Yes, and what about static and new gteam?
Hey i wonder why too lol
Reply
#5

... any anwers?
Reply
#6

Quote:

Why use !strcmp, !strlen, etc... ?

Wiki explains both.
Reply
#7

For the answer to question two check here.
Reply
#8

Aha that answers it .. Thanks Jamesy
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)