We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55c3c24 + d5c5b87 commit e123f65Copy full SHA for e123f65
doc/tutorial.zh-cn.md
@@ -250,7 +250,7 @@ string(const char* s, size_t count);
250
251
~~~~~~~~~~cpp
252
if (document["hello"] == document["n"]) /*...*/; // 比较两个值
253
-if (document["hello"] == "world") /*...*/; // 与字符串家面量作比较
+if (document["hello"] == "world") /*...*/; // 与字符串字面量作比较
254
if (document["i"] != 123) /*...*/; // 与整数作比较
255
if (document["pi"] != 3.14) /*...*/; // 与 double 作比较
256
~~~~~~~~~~
@@ -388,7 +388,7 @@ allocator 参数。对于字符串字面量(或字符数组常量),只需
388
389
390
Value s;
391
-s.SetString("rapidjson"); // 可包含空字符,长度在编译萁推导
+s.SetString("rapidjson"); // 可包含空字符,长度在编译期推导
392
s = "rapidjson"; // 上行的缩写
393
394
0 commit comments