I want to save the game level,but it didn’t work.
I debugged it,and found an error in “tinyxml.cpp”
bool TiXmlDocument::SaveFile(const wchar_t* filename) const
FILE* fp = 0;
errno_t err = _wfopen_s( &fp, filename, L"w" ); //in this line, the value of err is 24
then,I try to call flush method before and after saving game code. But it still didn’t work.
Does any mistakes in my code?
My english is very poor,and I’m sorry about that.I hope I describe this problem clearly.