if myfile.is_open is returning true, then the file is open.
What makes you think it isn't open?
It dose not actually open, I can not physically see the file, and I look in the folder that the exe is in and the whole project, and the file is not there... :/
It's somewhere. You're just not finding it.
Are you on windows?
If you're on windows, call this function wherever you create the file:
MessageBoxW(NULL,path,L"You are in this directory",MB_OK);
That'll pop up a message box telling you exactly what directory it's putting the file in.
Last edited on