Review Questions


  1. What are two modes you can open a file in?

  2. What is the difference between the get method and the getline method?

  3. What header file must you include for file input and output?

  4. What is a flat file?

  5. What method can you use to change a file’s mode?

  6. Why would you not want to use the read method to read in plain text?

  7. What is ASCII?

  8. How does the << operator work with file output?

  9. What is a binary file?

  10. What is the eof property of an fstream file?




C++ Programming Fundamentals
C++ Programming Fundamentals (Cyberrookies)
ISBN: 1584502371
EAN: 2147483647
Year: 2005
Pages: 197
Authors: Chuck Easttom

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net