<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Aufbau des double-Datentyps im Speicher]]></title><description><![CDATA[<p>Ich schreibe gerade ein Programm, das Daten ausliest.<br />
Allerdings kann ich nur Bytes auslesen. Die Bytes enthalten<br />
auch double Werte, mein Problem dabei ist, wie ich 8 Bytes zu<br />
einem double verarbeiten kann?</p>
<p>Danke im voraus!</p>
<p>MfG</p>
<p>GNUnix</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/203953/aufbau-des-double-datentyps-im-speicher</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 03:58:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/203953.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Jan 2008 15:02:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Aufbau des double-Datentyps im Speicher on Mon, 28 Jan 2008 15:02:52 GMT]]></title><description><![CDATA[<p>Ich schreibe gerade ein Programm, das Daten ausliest.<br />
Allerdings kann ich nur Bytes auslesen. Die Bytes enthalten<br />
auch double Werte, mein Problem dabei ist, wie ich 8 Bytes zu<br />
einem double verarbeiten kann?</p>
<p>Danke im voraus!</p>
<p>MfG</p>
<p>GNUnix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1445140</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1445140</guid><dc:creator><![CDATA[GNUnix]]></dc:creator><pubDate>Mon, 28 Jan 2008 15:02:52 GMT</pubDate></item><item><title><![CDATA[Reply to Aufbau des double-Datentyps im Speicher on Mon, 28 Jan 2008 15:07:48 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">double d;

assert(sizeof(d) == 8);
file.read(reinterpret_cast&lt;char*&gt;(&amp;d), 8);
</code></pre>
<p>Das assert ist nur da, um sicherzugehen dass double auf deiner Plattform wirklich 8 Bytes groß ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1445147</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1445147</guid><dc:creator><![CDATA[The-Kenny]]></dc:creator><pubDate>Mon, 28 Jan 2008 15:07:48 GMT</pubDate></item><item><title><![CDATA[Reply to Aufbau des double-Datentyps im Speicher on Mon, 28 Jan 2008 15:18:56 GMT]]></title><description><![CDATA[<p>Danke hat funktioniert!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1445153</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1445153</guid><dc:creator><![CDATA[GNUnix]]></dc:creator><pubDate>Mon, 28 Jan 2008 15:18:56 GMT</pubDate></item></channel></rss>