[C++]Sync the sample monster.fbs file with the tutorial (#5277)

* Fix the header file path in the tutorial doc

* Add the path field in sample/monster.fbs to match the tutorial

* Update the lobster sample file

* Update the binary sample file
This commit is contained in:
Henry Lee
2019-04-06 06:34:53 +11:00
committed by Wouter van Oortmerssen
parent c329d6fa90
commit 3ff6cdf491
5 changed files with 44 additions and 11 deletions

View File

@@ -1922,7 +1922,7 @@ before:
<div class="language-cpp">
~~~{.cpp}
#include "monster_generate.h" // This was generated by `flatc`.
#include "monster_generated.h" // This was generated by `flatc`.
using namespace MyGame::Sample; // Specified in the schema.
~~~