file writing not working after call to open file dialog

后端 未结 2 690
北恋
北恋 2020-12-12 04:56

after call to following function i cant write to any files i tried c++ fstream and c\'s fopen what\'s wrong please help thanks in advance i am using codeblocks mingw windows

2条回答
  •  执念已碎
    2020-12-12 05:49

    If you change folder in the dialog it will change the current folder for your process - try adding the OFN_NOCHANGEDIR flag.

提交回复
热议问题