Fix tutorial bug

This commit is contained in:
Milo Yip 2016-06-15 09:41:56 +08:00
parent 62ff0a9df9
commit b34f18525e
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ If we are unsure whether a member exists, we need to call `HasMember()` before c
~~~~~~~~~~cpp
Value::ConstMemberIterator itr = document.FindMember("hello");
if (itr != document.MemberEnd())
printf("%s %s\n", itr->value.GetString());
printf("%s\n", itr->value.GetString());
~~~~~~~~~~
## Querying Number {#QueryNumber}

View File

@ -166,7 +166,7 @@ Type of member a is Array
~~~~~~~~~~cpp
Value::ConstMemberIterator itr = document.FindMember("hello");
if (itr != document.MemberEnd())
printf("%s %s\n", itr->value.GetString());
printf("%s\n", itr->value.GetString());
~~~~~~~~~~
## 查询 Number {#QueryNumber}