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 获取软件当前运行路径

相关文章:

  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案