I did a program in C++ but it does not allow to save on c:\SomeDirectory\afile.txt
I'm using this:
FILE* m_hFile = fopen("c:\\SomeDirectory\\afile.txt", "a+t");
fprintf((FILE *)m_hFile, "testing");
fclose(m_hFile);
Why that? Is there a defined folder I can save in?