This post is for those who include <iostream.h>:

The new C++ standard (faster & more flexible) does not have a header file named iostream.h, nor does it have fstream.h, stdio.h, or any of the other ANSI-standard .h files that are out there.

after including <iostream> or any of the other new c++ headers you should declare that you are using the std namespace as the following code shows.

Code:
PHP Code:
#include <iostream> //no .h's #include <fstream> using namespace std//see just one new line int main(int argccharargv) {       cout << "Hello World!" << endl;       return 0; } 

And the old C headers are also converted to the new format like this:

<stdio.h> is now <cstdio>
<string.h> is now <cstring>
<math.h> is now <cmath>
hopefully by now you get the pattern

So far the only problem i know is between the string.h (now cstring) and string,
#include <string> includes the STL string class (very nice, look into this)
#include <string.h> includes c functions to deal with char-arrays


This is a little annoyance of mine, someday the .h's may cause more conflicts (as in the case of string.h vs. string) and it's just better to use the updated headers, makes no obvious change. The new headers are on all compilers after 98 i believe.

Happy Coding!
(and don't forget that "using namespace std;" line)