home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 November / PCWorld_2000-11_cd.bin / Software / Topware / devc40 / _SETUP.6 / Group8 / Hello.cpp next >
C/C++ Source or Header  |  2000-01-21  |  318b  |  16 lines

  1.  
  2. #include<iostream>
  3. int main()
  4. { char quit; 
  5. while (quit != 'q') 
  6. {
  7. cout<<"Hello ! This is a console app."<<endl;
  8. cout<<"To create a console, go to Project Options and uncheck"<<endl;
  9. cout<<"\'Do not create a console app\' check box."<<endl;
  10. cout<<"Press q to quit "<<endl; 
  11. cin>>quit; 
  12. }
  13. return 0; 
  14. }
  15.  
  16.