#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

相关文章:

  • 2021-06-14
  • 2022-12-23
  • 2021-08-05
  • 2021-05-16
  • 2022-12-23
  • 2021-12-17
  • 2021-09-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2021-11-08
相关资源
相似解决方案