home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Neil's C++ Stuff
/
neilcpp.iso
/
examples
/
hello.cpp
next >
Wrap
C/C++ Source or Header
|
1999-01-22
|
812b
|
20 lines
/*******************************************************************************
hello.cpp
Neil C. Obremski
23 JAN 1999
Simple program which outputs "Hello World!" to the screen.
*******************************************************************************/
#include <iostream.h> // I/O stream header for 'cout'
int main() // declare main function
{
cout << "Hello World!" << endl; // displays "Hello World" with a
// carriage return to next line down
return 0; // this means its a normal termination
// (program ended as planned)
}
/******************************* end of program *******************************/