So I have a C++ program that I'm refactoring from someone elses code. It has a File class object called File_C that's intended to handle all the file i/o for input files and put the data in files into ...
ifstream file; file.open("myfile.txt", ios::binary); if(file.good()) cout<<"yay\n"; else cout<<"boo\n"; Everything works great if the file is not marked as read-only ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results