获得'我的文档'路径
#include#include #include using namespace std; #pragma comment(lib, "shell32.lib") int main () { char szPath[1024]; SHGetFolderPath(NULL, CSIDL_PERSONAL, NULL, SHGFP_TYPE_CURRENT, szPath); string ss(szPath); cout << ss << endl; return 0; }
Nitip Link www.pusatseksualitas.com
ReplyDelete