Week 11

This week we covered some more about file streams. We learned how to open and read input file streams, how to write to file streams. We also covered how to read one line versus one character from a file. We also learned how to create streams from strings tomorrow which will be needed for the next  homework.

We then covered some odds and ends from Chapters 6, 7 and 9. The topics were char data type, typecasting. They are in oddsends.ppt file.

Powerpoint files

streams

oddsends

C++ codes discussed in class (some of them might have been modified in class to show extra features)

countintegers_cpp

longerwords_cpp

outfile_cpp

filelines_cpp

filelines2_cpp

parselines_cpp

strutils.h

strutils_cpp

prompt.h

prompt_cpp

randgen.h

randgen_cpp