Previous Lecture | Lecture 6 | Next Lecture |
Lecture 6, Wed 04/15
Data Representation, File I/O
Lecture Video
Topics
File I/O basics
- Opening a file: open()
- Reading a line from a file: getline()
- Reading until the end of file is reached
- Detecting failures