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... :/
If you're on windows, call this function wherever you create the file:
1 2 3 4 5 6 7 8
#include <Windows.h>
void whatDirectoryAmIIn()
{
wchar_t path[2000];
GetCurrentDirectoryW(2000,path);
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.