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 / 673.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  806KB  |  2550x3300
Labels: book | reckoner | sky
OCR: Introduction 673 Note 1: The first thing to notice is that, like C + must have a function code named in main and that execution will start with the The exccutable re turn state- main Again like c ma returns type int. ment returns the value 0 to the operating system. By convention, return value of0 signifies termination without error. The functional structure of ++D is the same as that in C program con sists of a sequence of functions In this simple example in) the only function. Notice in the header for the function main (). it is not necessary to put void inside the parentheses to indicate that main will nou take parameters. One of "the differences between and C+ that in function function prototype without parameter declarations means that takes ou parameters. Note 2 We will be using the ...