Or, instead.. do:
Code:
// test.cc or test.cpp
#include <iostream>
using namespace std;
int
main(void) {
cout << "Hello World\n";
return 0;
}
That we you don't need to add the std:: prefix..
Anyway, I don't understand why people use C++ instead of C.. it's so much cleaner.