/* * This is a sample "Hello World!" C++ file. * To compile and link it on Linux use the g++ command: * $ g++ foo.cpp * The compiled and linked code will be in the file a.out - to run it: * $ ./a.out * -IAN! idallen@ncf.ca */ #include int main(void){ cout <<"Hello World!\n"; // This number becomes the exit status // of this command when it finishes: // return 0; /* zero => good return status */ }