Week 9

This week we first finished class design related topics. The related material was posted under week 8.

This week we started to cover I/O and  file streams. The topics are from excerpts from Chapters 6 and 9. The covered and skipped section are pointed out in the powerpoint file below. Some codes are not in the book. But all codes are given below. We did not have time to cover everything about streams this week. We will continue next week (week10).

The codes that we covered in week10 are also given below.

Powerpoint file
streams.ppt  (This file has been updated on November 17, 2015. The slides after 12 have been modified. If you have downloaded before, you will need it to download it again. )
 

C++ codes discussed in class (some of them might have been modified in class to show extra features)
week 9 codes are below
sentinel.cpp
countw.cpp
sum10validnums.cpp
sum10validnumsfixed.cpp
mindatainput.cpp
 

The codes that we covered in week 10 are below
countw2.cpp
longestword.cpp
countintegers.cpp
longerwords.cpp
outfile.cpp
filelines.cpp
filelines2.cpp
parselines.cpp