TCHAR NPath[MAX_PATH]; GetCurrentDirectory(MAX_PATH, NPath);. Also, take a look at Boost.Filesystem library if you want to do this the C++ way.
確定! 回上一頁