#include <iostream>
int main()
{
const char* pStr = R"(d:\xx.png)";
/// [] :说明,类似注释功能,不被输出
const char* pShader = R"[shader](d:\test""""""".png)[shader]";
std::cout << pStr<<std::endl;
std::cout << pShader<<std::endl;
return 0;
}
输出:
d:\xx.png
d:\test""""""".png