mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 12:44:40 +03:00
fix #63: fix string literal
This commit is contained in:
@@ -102,9 +102,9 @@ C++11 提供了原始字符串字面量的写法,可以在一个字符串前
|
|||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
std::string str = R"(C:\\What\\The\\Fxxk)";
|
std::string str = R"(C:\What\The\Fxxk)";
|
||||||
std::cout << str << std::endl;
|
std::cout << str << std::endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user