Hi
Im having a problem with the following piece of code:
#include <iostream>
using namespace std;
#define something 33;
void main() {
if (33 == something) {
cout << "equals" << endl;
}
}
Im using Visual C++ 2008 (not Express) and I get 2 errors and 1 warning when compiling:
line 6: error C2143: syntax error : missing ')' before ';'
line 6: error C2059: syntax error : ')'
line 6: warning C4390: ';' : empty controlled statement found; is this the intent?
I think this is really odd. Any Help?