[Solved] Cannot create a txt file using fstream::open
Point 1: You cannot open to read if the file doesn’t exist. Fortunately you probably don’t want to. Simultaneously reading and writing the same file is problematic and almost always a bad idea. Until you know you have to read and write at the same time, open the file for reading read in the file … Read more