I've just been learning about basic file operation in my Intro to C++ textbook. The book states that "dataFile.open("file.txt", ios::in | ios::out)" should allow me to use the file in both input and output, as well as create the file if it doesn't already exist. Curious, I gave it a try in Microsoft Visual.