TCHAR path[255]; //获取当前用户的桌面路径 SHGetSpecialFolderPath(0, path, CSIDL_DESKTOPDIRECTORY, 0);
windows C++ 获取用户桌面路径
原文:https://www.cnblogs.com/ndyxb/p/13021464.html