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 / 746.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-13  |  536KB  |  2550x3300
Labels: book | crt screen | monitor | reckoner | sky
OCR: 746 Chapter Discovering C++ cout << 12 3456789 endl >> endl, cout unsetf ios fixed cou setf ios::scienti fic cout "With sci ienti: oati ing point output "and preci ision cout precisi ion() enal cout 12 3456789 << endl; returr Running the Program Default width is 0 Default fill character Now fill character Integer output set to hex and uppercase Default preci .sion is 12 3457 Now preci ision is 12 Floating point output has been set to fixed and precisi ion 12 Now with preci sion and fixed floating point output 12 345679 With scientific floating point output and precision 234568E +001 This program consists of the single function main ( The executable code in ma in) consists of invocations of ostream functions by cout and output state ments. The concepts of minimum field width, fill character ...