Programming in C++
Extraction Operator ( >> )
Input Statements
Whitespace Characters Include . . .
Extraction Operator >>
At keyboard you type: A[space]B[space]C[Enter]
At keyboard you type:[space]25[space]J[space]2[Enter]
Keyboard and Screen I/O
Diskette files for I/O
To Use Disk I/O, you must
Statements for using Disk I/O
What does opening a file do?
Another example using >>
Another way to read char data
Use function ignore( ) to skip characters
An example using cin.ignore( )
Another example using cin.ignore( )
Interactive I/O
Prompting for Interactive I/O
File I/O Mileage Program
C++ Code Continued
End of Program
Stream Fail State
Functional Decomposition
Module Structure Chart
Object-Oriented Design
More about OOD
Object-Oriented Design (OOD)
Why use OOD with large software projects?
Email: ssorkin@essex.cc.md.us
Home Page: http://www.essex.cc.md.us/Essex/People/ssorkin/index.html