Section 13.9 Word Matching Exercise
ofstream o("filename")
ifstream i("filename")
ios::in
ios::out
ios::binary
ios::app
write(char*, size)
read(char*, size)
is a file mode for opening a file for binary input and output. | |
creates an object for outputting text to the specified file. | |
creates an object for inputting text from the specified file. | |
is a file mode for opening a file for output. | |
is a file mode for opening a file for appending data to the end of the file. | |
is a file mode for opening a file for input. | |
reads bytes using binary input. | |
writes bytes using binary output. |