Skip to main content
Logo image

Section 15.8 Summary

In this chapter, we studied the following topics:
  • How to open a file - either for reading or for writing
  • How to write data to a file
  • How to read data from a file
  • How to check whether we have reached the end of a file
  • How to check whether a file exists / is actually open for reading.
  • How to close a file