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 / 766.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-13  |  515KB  |  2550x3300
Labels: book | bulletin board | crt screen | poster | reckoner | screen | sky
OCR: 766 Chapter Discovering C++ C++ Language Elements Introduced in This Chapter: A Review Output with cout and Output of strings and fundamental types cout "The area he ight width "\n Type bool Takes on only two values true and false. Inline Functions Prototype Declaration inline ret type fn name param list Function Definition inline ret type fn name 1 param list //funct ion code Default Function Parameters Prototype Declaration void XX positi ion( int x=0, int y=0 Function Calls posit ion //y position 0, 0; posit ion( 100 /xy posit on 100 Reference Parameters Prototype Declarations 0id swap int& int& Operators for Memory Management Dynamic Memory Allocation operator new ptr new int ptrl new int arrav new int[ 20 Dynamic Memory De-allocation operator delete del ete delete[] array; Classes Cla ...