title: Streaming data in c++
body: <p>This is the code that streams the data i see when i run <code>sampleclient.exe</code> for a rigid body?
  What if I wanted to use the x y z qx qy qz qw point for other calculation? are they stored in an array i can access to do calculations in real time? I'm kinda of new at this, isn't <code>RigidBodies[i]</code> an array, but it value keeps pointing to a different value...</p>
  
  <pre><code>printf("Rigid Bodies [Count=%d]\n", data-&gt;nRigidBodies);
  
  for(i=0; i &lt; data-&gt;nRigidBodies; i++)
  {
      printf("Rigid Body [ID=%d  Error=%3.2f]\n", data-&gt;RigidBodies[i].ID,  
      data-&gt;RigidBodies[i].MeanError);
  
      printf("\tx\ty\tz\tqx\tqy\tqz\tqw\n");
  
      printf("\t%3.2f\t%3.2f\t%3.2f\t%3.2f\t%3.2f\t%3.2f\t%3.2f\n",
          data-&gt;RigidBodies[i].x,
          data-&gt;RigidBodies[i].y,
          data-&gt;RigidBodies[i].z,
          data-&gt;RigidBodies[i].qx,
          data-&gt;RigidBodies[i].qy,
          data-&gt;RigidBodies[i].qz,
          data-&gt;RigidBodies[i].qw);
  
  }
  </code></pre>