home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_12 / 672.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  603KB  |  2550x3300
Labels: book | planking | reckoner | sky
OCR: 672 Chapter 12 Discovering C++ Example 12-1 welcome.cpp wel come cpp This comment This st- comment Synopsis Displays the string Wel t.c c+ the termi nal screen Obj ective Illustrates the output stream cout and the inserti Lon operator Inc ude fil es #inc] ude <iostream h> Note2 int main Notel cout "Di C++\n Note: return Running the Program Discovering ++5 The commenting style is still valid in and is good for com- ments that extend over several lines In addition, adds second commenting style The symbols indicate the beginning ofa comment. That comment termi- nates at the end of the source code line. One way of using the two commenting styles to comment your code with C++s one line comments using Then dur- ing development, testing and debugging when is i desired to comment out large block o ...