// HelloWorld.cc // Include file "iostream.h" is needed, since cout is not declared in C++ // (/usr/include/g++/iostream.h) // Otherwise (gpp==g++): // % g++ HelloWorld.cc // ==> `cout' undeclared (first use this function) // ==> `endl' undeclared (first use this function) // Info which Header file is needed: // man iostream; man ostream #include main() { cout << "Hello World" << endl; // `endl' - new line }