home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C by Discovery (4th Edition)
/
C_By_Discovery_4th_Edition.tar
/
C_By_Discovery_4th_Edition
/
_DISK_
/
ch12
/
welcome.cpp
< prev
Wrap
C/C++ Source or Header
|
2005-06-16
|
536b
|
22 lines
// welcome.cpp
//
// This is a comment
/* This is
* still a comment
*/
//
// Synopsis - Displays the string "Welcome to C++ on the
// terminal screen.
//
// Objective - Illustrates the output stream, cout and the
// insertion operator <<.
// Include files
#include <iostream.h> // Note 2
int main() // Note 1
{
cout << "Discovering C++\n"; // Note 3
return 0;
}