<?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[frage: dateien]]></title><description><![CDATA[<p>ich möchte einen dateiinhalt in binärmodus in einen array laden. wie kann ich dies machen? größe ist schon bestimmt..</p>
<p>MFG kloß &lt;---der zum essen, nicht die zum *******</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/148582/frage-dateien</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 00:47:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/148582.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 May 2006 13:49:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 13:49:46 GMT]]></title><description><![CDATA[<p>ich möchte einen dateiinhalt in binärmodus in einen array laden. wie kann ich dies machen? größe ist schon bestimmt..</p>
<p>MFG kloß &lt;---der zum essen, nicht die zum *******</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066667</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066667</guid><dc:creator><![CDATA[kloß]]></dc:creator><pubDate>Sun, 28 May 2006 13:49:46 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 16:20:09 GMT]]></title><description><![CDATA[<p>Indem Du ein Array vom Datentyp &quot;byte&quot; verwendest, das kann den Binärinhalt speichern (ich weiss aber nicht, ob das eine Windows- spezifische Sache ist).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066781</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066781</guid><dc:creator><![CDATA[Physikalischer Fehler]]></dc:creator><pubDate>Sun, 28 May 2006 16:20:09 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 16:47:13 GMT]]></title><description><![CDATA[<p>ja, aber über welchen befehl lade ich in den speicher..?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066799</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066799</guid><dc:creator><![CDATA[kloß]]></dc:creator><pubDate>Sun, 28 May 2006 16:47:13 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 17:08:17 GMT]]></title><description><![CDATA[<p>BYTE ist AFAIK ein typedef für unsigned char;<br />
also auf nicht winddof Platformen mit</p>
<pre><code class="language-cpp">typedef unsigned char BYTE;
</code></pre>
<p>zu lösen</p>
<p>Mfg Shade37337</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066825</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066825</guid><dc:creator><![CDATA[branleb]]></dc:creator><pubDate>Sun, 28 May 2006 17:08:17 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 17:19:13 GMT]]></title><description><![CDATA[<p>ich möchte aber wissen wie ich den inhalt der datei in die variable bekomme, die ich übrigens mit new deklariere.</p>
<p>also so etwas wie datei&gt;&gt;variable;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066842</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066842</guid><dc:creator><![CDATA[kloß]]></dc:creator><pubDate>Sun, 28 May 2006 17:19:13 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 18:14:57 GMT]]></title><description><![CDATA[<p>mit nem fstream<br />
[url]<br />
<a href="http://www.cppreference.com/cppio/index.html" rel="nofollow">http://www.cppreference.com/cppio/index.html</a><br />
[/url]</p>
<p>Mfg Shade37337</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066903</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066903</guid><dc:creator><![CDATA[branleb]]></dc:creator><pubDate>Sun, 28 May 2006 18:14:57 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 18:26:44 GMT]]></title><description><![CDATA[<p>die funktion write will bei mir nicht so ganz arbeiten..</p>
<p>übrigens ist file&gt;&gt;buffer schon fstream <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066912</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066912</guid><dc:creator><![CDATA[kloß]]></dc:creator><pubDate>Sun, 28 May 2006 18:26:44 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 18:36:10 GMT]]></title><description><![CDATA[<p>Probiers mal mit char statt unsigned char und read statt write und/oder gib die Fehlermeldung und den dazugehörigen Code.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066916</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066916</guid><dc:creator><![CDATA[.filmor]]></dc:creator><pubDate>Sun, 28 May 2006 18:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 18:42:10 GMT]]></title><description><![CDATA[<p>struct std::ofstream has no member named 'read'</p>
<p>das gleiche mit write.</p>
<p>der fehler mit buf&gt;&gt;b: no match for operator&gt;&gt; in 'byte &gt;&gt; b'</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066921</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066921</guid><dc:creator><![CDATA[kloß]]></dc:creator><pubDate>Sun, 28 May 2006 18:42:10 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 18:59:27 GMT]]></title><description><![CDATA[<p>kloß schrieb:</p>
<blockquote>
<p>struct std::ofstream has no member named 'read'</p>
</blockquote>
<p>ifstream = in-stream = lesen = read()<br />
ofstream = out-stream = schreiben = write()</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066939</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066939</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Sun, 28 May 2006 18:59:27 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 19:06:01 GMT]]></title><description><![CDATA[<p>fstream = in &amp; out<br />
hat also beides <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":-)"
      alt="🙂"
    /><br />
@kloß<br />
und fstream ist garnatiert keine struct sodern eine klassse<br />
weil fstream methoden hat. eben write, read,....</p>
<p>Mfg Shade37337</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1066944</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066944</guid><dc:creator><![CDATA[branleb]]></dc:creator><pubDate>Sun, 28 May 2006 19:06:01 GMT</pubDate></item><item><title><![CDATA[Reply to frage: dateien on Sun, 28 May 2006 19:15:25 GMT]]></title><description><![CDATA[<p>shade37337 schrieb:</p>
<blockquote>
<p>fstream = in &amp; out<br />
hat also beides <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":-)"
      alt="🙂"
    /><br />
@kloß<br />
und fstream ist garnatiert keine struct sodern eine klassse<br />
weil fstream methoden hat. eben write, read,....</p>
<p>Mfg Shade37337</p>
</blockquote>
<p>Guck mal:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

struct Widget {
    public:
        Widget() {
            std::cout &lt;&lt; &quot;Hat sogar Konstruktoren!&quot; &lt;&lt; std::endl;
        }
        void Asd() {
            std::cout &lt;&lt; &quot;Hallo!&quot; &lt;&lt; std::endl;
        }
        ~Widget() {
            std::cout &lt;&lt; &quot;Kann naemlich alles was ne class auch kann!&quot; &lt;&lt; std::endl;
        }
};

int main() {
    Widget w;
    w.Asd();
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1066955</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1066955</guid><dc:creator><![CDATA[joomoo]]></dc:creator><pubDate>Sun, 28 May 2006 19:15:25 GMT</pubDate></item></channel></rss>