string path = R"(c:\files\)";
cout << path << endl;

这样会原样输出:

c:\files\