Review Session 2 Announcements Practice Exercises are optional You may request an exercise solution cygwin atom "file.txt" literal C-string null-terminated char array File I/O File streams ifstream ifstream object ofstream fstream (we'll cover this much later) Opening a file Use a class constructor Use the open function open is a member function of the ifstream class Check for a successful open Closing a file Why you may not need the close function Reading from a file >> operator cin >> a >> b >> c; whitespace is a delimiter 6 hey 7.7 getline the string version the cstring version (we'll cover this later) get Writing to a file << operator put Handling End of File (EOF)