Originally posted by: z0mb13
no its not
EDIT: IIRC 0 (zero) is false in C, everyhting else is true
Originally posted by: z0mb13
no its not
EDIT: IIRC 0 (zero) is false in C, everyhting else is true
Originally posted by: Elemental007
Originally posted by: z0mb13
no its not
EDIT: IIRC 0 (zero) is false in C, everyhting else is true
Does any have the code for enumerating the boolean data types? I havent dealt with enums in a while
Originally posted by: bleeb
Originally posted by: z0mb13
no its not
EDIT: IIRC 0 (zero) is false in C, everyhting else is true
haha i like that Mod vs Nef quote. funny stuff.
Originally posted by: z0mb13
Originally posted by: Elemental007
Originally posted by: z0mb13
no its not
EDIT: IIRC 0 (zero) is false in C, everyhting else is true
Does any have the code for enumerating the boolean data types? I havent dealt with enums in a while
what do you mean?
Originally posted by: Elemental007
wtf
I've been doing C++ for years
I'm doing my first really easy C programming assignment
and it's not recognizing a variable declared as bool
wtf?
yep, that will work in C as well.Originally posted by: Legendary
enum bool {false,true};
? That sounds familiar but that might be C++.