Standard Input/Output Streams
Standard Input/Output Streams
Standard Input/Output Streams Writing Data to a File Reading Data from a File Member Functions: getline, get and put fstream and File Open Modes
ios::in // Opens a file for input ios::out // Opens a file for output ios::app // Appends all output to the end of the file ios::ate // Opens a file for output. If the file already exists, move to the end of the file.
C++ for Java Programmers Lecture 8
6