GetCurrentDirectory 获取软件当前运行路径        //declare
GetCurrentDirectory 获取软件当前运行路径
        TCHAR tstrCurrentPath[MAX_PATH];
GetCurrentDirectory 获取软件当前运行路径
GetCurrentDirectory 获取软件当前运行路径        
//initialize
GetCurrentDirectory 获取软件当前运行路径
        memset(tstrCurrentPath, 0, MAX_PATH);
GetCurrentDirectory 获取软件当前运行路径
GetCurrentDirectory 获取软件当前运行路径        
//Get
GetCurrentDirectory 获取软件当前运行路径
        GetCurrentDirectory(MAX_PATH, tstrCurrentPath);
GetCurrentDirectory 获取软件当前运行路径
GetCurrentDirectory 获取软件当前运行路径        
//Output
GetCurrentDirectory 获取软件当前运行路径
        wcout << tstrCurrentPath << endl;
GetCurrentDirectory 获取软件当前运行路径

相关文章: