Quote:Original post by MonkeyIsland
Some compilers also require you to put the full name of the header file. Instead of this: #include <iostream>
you put this: #include <iostream.h>
Do not do this. iostream.h is a C header that your compiler might have (many C++ compilers are also C compilers), not a standard C++ header. The standard C++ header is iostream (no .h!)
int main() is also perfectly legal, and compiles in every compiler I can think of. Neither of these are likely your problem.
@OP: It's really not possible to come to any kind of conclusion here without posting the error information and compiler you're using.