C++ platform compatibility
<p>An object <code>foo</code> is written to a new file on platform 1 as:</p>

<pre><code>write( file, &amp;myFoo, sizeof(struct foo) );
</code></pre>

<p>...and then read on platform 2 using:</p>

<pre><code>read(file, &amp;myFoo, filesize(file) );
</code></pre>

<p>The <code>foo</code> object has the following definition:  </p>

<pre><code>struct foo
{
    char  a;
    int   b; 
    long  c;
    char* d;
};
</code></pre>

<p>What kind of issues might arise when loading <code>foo</code> on platform 2?</p>
