Quote (Muted @ 7 Nov 2009 14:29)
Is this a legit statement?
Code
// abc.h
#ifdef ABC
int ABC = 0;
#endif
...
// abc.cpp
#define ABC
ABC = 3;
I'm about to try it, just thought of it.

Its ok if you first define ABC in abc.cpp and then include abc.h before you access the variable ABC. (didnt test it but should work)