Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
e123f650
Unverified
Commit
e123f650
authored
Apr 09, 2019
by
Milo Yip
Committed by
GitHub
Apr 09, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1479 from MaxXSoft/patch-tutorial
doc/tutorial.zh-cn: fixed some typos
parents
55c3c241
d5c5b87f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tutorial.zh-cn.md
doc/tutorial.zh-cn.md
+2
-2
No files found.
doc/tutorial.zh-cn.md
View file @
e123f650
...
...
@@ -250,7 +250,7 @@ string(const char* s, size_t count);
~~~
~~~~~~~cpp
if (document["hello"] == document["n"]) /*...*/; // 比较两个值
if (document["hello"] == "world") /*...*/; // 与字符串
家
面量作比较
if (document["hello"] == "world") /*...*/; // 与字符串
字
面量作比较
if (document["i"] != 123) /*...*/; // 与整数作比较
if (document["pi"] != 3.14) /*...*/; // 与 double 作比较
~~~
~~~~~~~
...
...
@@ -388,7 +388,7 @@ allocator 参数。对于字符串字面量(或字符数组常量),只需
~~~
~~~~~~~cpp
Value s;
s.SetString("rapidjson"); // 可包含空字符,长度在编译
萁
推导
s.SetString("rapidjson"); // 可包含空字符,长度在编译
期
推导
s = "rapidjson"; // 上行的缩写
~~~
~~~~~~~
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment