Pointer to class holding array of pointers to another class
<p>I have three classes one is for drawing a <code>tilemap</code> to the screen, one contains the ships that have been initialized, and the last ones are the ships.</p>

<p>The problem: I need the <code>tilemap</code> class to be able to see every ships location, so that it knows whether to draw water, or a ship based on x y grid coordinates.</p>

<p>to do this I have used this: <code>pShipsContained-&gt;aContainer[0]-&gt;fGetCoordX()</code></p>

<p>Which will build, but then freezes practically every thing on my pc.</p>

<p>is there a better way to do this?</p>

<p>using c++</p>
