<分区>
Possible Duplicate:
What is the rationale in allowing `?` to be escaped?
如果我能做到:
string i = "'";
为什么这样做:
string i = "\'";
<分区>
Possible Duplicate:
What is the rationale in allowing `?` to be escaped?
如果我能做到:
string i = "'";
为什么这样做:
string i = "\'";
最佳答案
如果你想要一个字 rune 字,你需要它:
char apos = '\'';
关于c++ - "\'“转义序列的目的是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13910913/