There better ways to do this but this will work...
Code:
#include <iostream.h> 
int main() 
{ 
char nothing=0;
cout << "Hello World \n"; 
cin >> nothing;
return 0; 
}
just hit any key on the keyboard and then enter to exit.


chilibean