Suse & OpenSuse : Tips, Tricks, Tutorials, How Tos and Troubleshooting

Compiling C++ code using iostream in G++ version 4.3 and above

In the past, prior to G++ version 4.3, a code like #include <iostream.h> int main() {   cout << “hello world” << endl;   return 0; } would probably compile  (g++ <filename.cpp>) with the possibility of some warning messages.  With version 4.3 and newer, it will give you an error message stating that iostream.h: No [...]