1 #include <iostream>
 2 #include <string>
 3 #include <cstdlib>
 4 using namespace std;
 5 
 6 
 7 
 8 void main()
 9 {
10     //string str("\"C:\\Program Files (x86)\\Tencent\\QQ\\Bin\\QQScLauncher.exe\"");
11     //\n不会换行,换行只能在内部换行
12     string str(R"("C:\Program Files(x86)\Tencent\QQ\Bin\QQScLauncher.exe")");
13     system(str.c_str());
14     cin.get();
15 } 

 

相关文章:

  • 2022-12-23
  • 2021-12-18
  • 2021-06-20
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
猜你喜欢
  • 2021-06-03
  • 2021-08-15
  • 2021-12-16
  • 2021-10-04
  • 2022-12-23
相关资源
相似解决方案