Input/Output
Input/Output
Input/Output
Input/Output
Objectives
• In this chapter, you will:
– Learn what a stream is and examine input and output
streams
– Explore how to read data from the standard input device
– Learn how to use predefined functions in a program
– Explore how to use the input stream functions get, ignore,
putback, and peek
• varChar
– Is a char variable
– Is the argument (or parameter) of the function
• expression is evaluated
• value is printed
• manipulator is used to format the output
– Example: endl