by CamperBob2 · 13y ago · 0 comments
string test=R"(C:\A\B\C\D\file1.txt)";
Hmm, that's ugly. Why are those parens needed? string test = R"(the Star Trek catchphrase "Beam me up, Scotty" did not appear)";
If you want to use quotes in the string, you can add up to 16 chars to the delimiter, but you still have to use the parentheses. string test = R"[de=limiter!(the (Star Trek) catchphrase "Beam me up, Scotty" did not appear)[de=limiter!"; R"foo(xyz)")foo";