Learning objectives for chapter 10
Learn how to open a text file and use it for input to a program.
Learn about end-of-file loops.
Learn how to write output to a text file.
Learn how to append to an existing text file.
  Learning objective(s) addressed
  1234
Exercises Right-click (or control-click on a Mac) the title to save its PDF to your system.  
10.1 Making Change, v.5.0 PDF X   
10.2 My Savings Plan, v.3.0 PDF X   
10.3 Temperature Conversion, v.4.0 PDF XX  
10.4 About Lighthouses, v.3.0 PDF X   
10.5 A Simple Mortgage Calculator, v.3.0 PDF   XX
10.6 NSA Encoder, v.1.0 PDF XXX 
10.7 NSA Decoder, v.1.0 PDF XX  
10.8 Making Excel Spreadsheets PDF   X 

 
Samples Right-click (or control-click on a Mac) the title to save its PDF to your system.  
10.1 About File I/O PDF XXX 

 
Videos  
10.1 Click HERE for a YouTube-like video that shows how to develop code with file input. The video is 16 minutes long, and uses the XCode g++ compiler in command line mode, on a Mac computer. X   

Code from the chapter in order of their appearance in the text
itsAboutYou2.cpp aboutYou.txt readFile.cpp keepingScore.cpp classRoster.cpp

Chapter 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15