This chapter has introduced you to the concepts involved in reading and writing from flat files. We have worked through specific examples reading and writing from text files. We have also used an example where we read from a file in binary mode. This chapter summarized the methods and properties of the ifstream object and the ostream object. You should be fairly comfortable with these topics.

C++ Programming Fundamentals
C++ Programming Fundamentals (Cyberrookies)
ISBN: 1584502371
EAN: 2147483647
Year: 2005
Pages: 197
Authors: Chuck Easttom © 2008-2017.
If you may any questions please contact us: