Fixed size data types, C++, windows types
<p>I'm trying to get fixed sized floats and ints across all windows computers. As in, I have a program, I compile it and distribute the executable. I want the data types to be of constant bit size/ordering across all windows computers.</p>

<p>My first question is whether windows types defined at <a href="http://msdn.microsoft.com/en-us/library/aa383751(v=vs.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa383751(v=vs.85).aspx</a> have fixed sizes across all windows computers (let's say running the same OS- Windows 7).</p>

<p>Basically, I'd like to transfer data contained in a struct over a network and I want to avoid having to put it all in a string or encode it into a portable binary form. </p>

<p>Edit: What about floats??</p>
