去掉转义

 1 /* 去掉转义字符 */
 2 
 3 #include<iostream>
 4 #include<string>
 5 #include<stdlib.h>
 6 
 7 int main()
 8 {    // R"()" 括号之间去掉转义字符
 9     std::string path = R"("D:\Program Files (x86)\Tencent\QQ\QQProtect\Bin\QQProtect.exe")"
10     system(path.c_str());
11 
12     std::cin.get();
13     return 0;
14 }

 

posted on 2015-06-02 10:10  Dragon-wuxl  阅读(162)  评论(0)    收藏  举报

导航