The codeDoesn't create a new file.Code:fstream myfile; myfile.open("C:\\myfile.ddt")
I triedtoo.Code:myfile.open("C:\\myfile.ddt", ios::in | ios::out)
My book says it should create a file if the file does not exist.
It is my first use of fstream. Using ios:ut alone is alright.