Possible Duplicate:
Is sizeof(bool) implementation defined in C++?
Im writing code that is compiled in vc++ with a g++ lib (libpng) and need to know if bool is the same size and bits in g++ and vc++. All I know is false is all 0's and that sizeof(bool) is 1 in vc++