首页 > 代码库 > VS中R转义字符处理

VS中R转义字符处理

std::string s1 = R"(Name="Hello World ... ")";
std::string s2 = R"-(Name="(Hello World ... )")-";
std::string s3 = R"-(Name="Hello World ... ")-";

std::wstring s4 = LR"(Name="Hello World ... ")";
std::wstring s5 = LR"-(Name="(Hello World ... )")-";
std::wstring s6 = LR"-(Name="Hello World ... ")-";

  

VS中R转义字符处理