<?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[Komischer Fehler bei fstream]]></title><description><![CDATA[<p>Hi</p>
<p>Wenn ich versuche folgenden Quelltext zu compilieren kommt immer<br />
ein Fehler, den ioch mir nicht wirklich erklären kann.</p>
<pre><code class="language-cpp">#include &lt;fstream.h&gt;

int main()
{
fstream datei;

return 0;
}
</code></pre>
<p>Fehler:</p>
<p><strong>error C2872: 'fstream' : ambiguous symbol</strong></p>
<p>Thx schonmal im vorraus</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/117745/komischer-fehler-bei-fstream</link><generator>RSS for Node</generator><lastBuildDate>Fri, 21 Aug 2026 03:45:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/117745.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Aug 2005 21:31:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Komischer Fehler bei fstream on Wed, 10 Aug 2005 21:31:39 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>Wenn ich versuche folgenden Quelltext zu compilieren kommt immer<br />
ein Fehler, den ioch mir nicht wirklich erklären kann.</p>
<pre><code class="language-cpp">#include &lt;fstream.h&gt;

int main()
{
fstream datei;

return 0;
}
</code></pre>
<p>Fehler:</p>
<p><strong>error C2872: 'fstream' : ambiguous symbol</strong></p>
<p>Thx schonmal im vorraus</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849762</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849762</guid><dc:creator><![CDATA[Lup]]></dc:creator><pubDate>Wed, 10 Aug 2005 21:31:39 GMT</pubDate></item><item><title><![CDATA[Reply to Komischer Fehler bei fstream on Wed, 10 Aug 2005 21:32:51 GMT]]></title><description><![CDATA[<p>Ich habe natürlich auch</p>
<pre><code class="language-cpp">using namespace std;
</code></pre>
<p>benutzt;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849764</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849764</guid><dc:creator><![CDATA[Lup]]></dc:creator><pubDate>Wed, 10 Aug 2005 21:32:51 GMT</pubDate></item><item><title><![CDATA[Reply to Komischer Fehler bei fstream on Wed, 10 Aug 2005 21:44:29 GMT]]></title><description><![CDATA[<p>Lup schrieb:</p>
<blockquote>
<pre><code class="language-cpp">#include &lt;fstream.h&gt;
</code></pre>
</blockquote>
<p>muss eher sein:</p>
<pre><code class="language-cpp">#include &lt;fstream&gt;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/849769</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849769</guid><dc:creator><![CDATA[Mr. N]]></dc:creator><pubDate>Wed, 10 Aug 2005 21:44:29 GMT</pubDate></item><item><title><![CDATA[Reply to Komischer Fehler bei fstream on Wed, 10 Aug 2005 21:47:20 GMT]]></title><description><![CDATA[<p>mach entweder using namespace std; weg (schlechte variante). oder nur #include &lt;fstream&gt; -ohne .h</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849770</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849770</guid><dc:creator><![CDATA[Cpt.Tanga]]></dc:creator><pubDate>Wed, 10 Aug 2005 21:47:20 GMT</pubDate></item><item><title><![CDATA[Reply to Komischer Fehler bei fstream on Wed, 10 Aug 2005 21:48:35 GMT]]></title><description><![CDATA[<p>Thx für die schnelle Antwort.<br />
Aber eine Frage habe ich da noch,<br />
warum klappt es denn wenn man das &quot;.h&quot; weglässt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849771</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849771</guid><dc:creator><![CDATA[Lup]]></dc:creator><pubDate>Wed, 10 Aug 2005 21:48:35 GMT</pubDate></item><item><title><![CDATA[Reply to Komischer Fehler bei fstream on Wed, 10 Aug 2005 21:50:17 GMT]]></title><description><![CDATA[<p>Lup schrieb:</p>
<blockquote>
<p>Thx für die schnelle Antwort.<br />
Aber eine Frage habe ich da noch,<br />
warum klappt es denn wenn man das &quot;.h&quot; weglässt.</p>
</blockquote>
<p>weil es mit .h veraltet und kaputt und böse ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849774</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849774</guid><dc:creator><![CDATA[Mr. N]]></dc:creator><pubDate>Wed, 10 Aug 2005 21:50:17 GMT</pubDate></item><item><title><![CDATA[Reply to Komischer Fehler bei fstream on Wed, 10 Aug 2005 22:25:04 GMT]]></title><description><![CDATA[<p>Kann man nicht endlich die Tutorials und Bücher verbrennen, die den alten Sch**** verbreiten? Fast jeden Tag kommt jemand mit sowas an. Die Autoren dieser Bücher und Tuts müsste man verkloppen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849784</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849784</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Wed, 10 Aug 2005 22:25:04 GMT</pubDate></item><item><title><![CDATA[Reply to Komischer Fehler bei fstream on Wed, 10 Aug 2005 22:29:36 GMT]]></title><description><![CDATA[<p>Artchi schrieb:</p>
<blockquote>
<p>Kann man nicht endlich die Tutorials und Bücher verbrennen, die den alten Sch**** verbreiten? Fast jeden Tag kommt jemand mit sowas an. Die Autoren dieser Bücher und Tuts müsste man verkloppen.</p>
</blockquote>
<p>Solange der Rest vernünftig ist, ist das doch egal!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/849786</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/849786</guid><dc:creator><![CDATA[:-||]]></dc:creator><pubDate>Wed, 10 Aug 2005 22:29:36 GMT</pubDate></item></channel></rss>