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 / 771.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-13  |  630KB  |  2550x3300
Labels: book | reckoner
OCR: Exercises and Programming Problems 771 25 An iterator is a generalization of pointer. 26 function const ifit does not change class data Exercises and Programming Problems Consider the program eppl .cpp eppl cpp simple example lone with //Incl lude Files in C #incl lude <iostream h> int main ed at the int intvar; char charvar; body float floatvar, eak and float: locate cout "Enter an int, > > char, loatvar, cin intvar charvar cout "You entered intvar "n" ions and charvar floatvar returr opens Compile eppl .cpp and test it to discover the answers to the following questions when before the integer, betw veen the integer How between following does the the places character system and handle the whitespace in input. cin Try the handle 'and digits whitespace the white of the space. in character, ...