title: FlatBuffer: How do I dynamically add fields to a table?
body: <p>I have a table in my schema that is empty (as shown below).</p>
  
  <pre><code>table ClusterValue 
  {
  }
  </code></pre>
  
  <p>Since I do not know the number of member elements in the cluster in advance, I'd like to programatically add fields (C++). I came across some methods like AddOffset, AddElement, AddStruct. But I am not still sure of the exact way to add that.</p>
  
  <p>To elaborate, let say if the input to my program is a cluster with two members - a string and a numeric. I'd like to programatically add two fields (string and numeric) to the cluster table and serialize it. </p>