Originally posted by Paul McKenzie
Using an ANSI C++ compiler -- this wouldn't even compile. Even if you did have some header called ostream.h and main.h, and you did have a class called UINT, this code won't compile for the following reason:
Code:
// void main()  This is an error
int main()  // This is correct
So is this possible? Not with a conforming compiler. There are compilers now that flag it as an error, so I can't wait when VC++ is really ANSI compliant and starts to flag that line as an error. The surprised look on the faces of programmers will be a sight to see

Regards,

Paul McKenzie
Ooopssss!

Thank you!