<?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[Borland 2006 fstream funktioniert nicht?????]]></title><description><![CDATA[<p>Hallo,<br />
ich habe im Internet und hier im Forum gesucht und versucht das am einen kleinen Beispiel zu testen.</p>
<pre><code class="language-cpp">#include &lt;fstream.h&gt;

fstream f;
f.open(&quot;D:\\check.dat&quot;, ios::in | ios::out);

f.close();
</code></pre>
<p>und noch weiter Beispiele habe ich schon getestet, aber es will bei mir nicht laufen. Ich kann keine check.dat anlegen 3 versionen getestet keins läuft und es kommt kein Fehlermeldung oder irgendwas?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/192019/borland-2006-fstream-funktioniert-nicht</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 19:28:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/192019.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 Sep 2007 16:20:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Borland 2006 fstream funktioniert nicht????? on Sun, 09 Sep 2007 16:20:52 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich habe im Internet und hier im Forum gesucht und versucht das am einen kleinen Beispiel zu testen.</p>
<pre><code class="language-cpp">#include &lt;fstream.h&gt;

fstream f;
f.open(&quot;D:\\check.dat&quot;, ios::in | ios::out);

f.close();
</code></pre>
<p>und noch weiter Beispiele habe ich schon getestet, aber es will bei mir nicht laufen. Ich kann keine check.dat anlegen 3 versionen getestet keins läuft und es kommt kein Fehlermeldung oder irgendwas?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362025</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362025</guid><dc:creator><![CDATA[titanium]]></dc:creator><pubDate>Sun, 09 Sep 2007 16:20:52 GMT</pubDate></item><item><title><![CDATA[Reply to Borland 2006 fstream funktioniert nicht????? on Sun, 09 Sep 2007 16:37:45 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Das liegt nicht am Builder, sondern an deiner schlechten Quelle für Quellcodes.<br />
- Standard-header weden nicht mit .h included<br />
- fstream erfordert den namespace std<br />
- in und out sollten nicht gleichzeitig verwendet werden</p>
<p>Also sieht ein funktionierender Code so aus</p>
<pre><code class="language-cpp">#include &lt;fstream&gt;

int main()
{
  std::ofstream f;
  f.open(&quot;D:\\check.dat&quot;);
  f &lt;&lt; &quot;Test&quot;;
  f.close();
}
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362037</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362037</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sun, 09 Sep 2007 16:37:45 GMT</pubDate></item><item><title><![CDATA[Reply to Borland 2006 fstream funktioniert nicht????? on Sun, 09 Sep 2007 16:54:50 GMT]]></title><description><![CDATA[<p>Danke jetzt gehts:<br />
Also ich hatte<br />
- fstream erfordert den namespace std<br />
nicht drin.<br />
Aber<br />
- Standard-header weden nicht mit .h included<br />
das habe ich bis jetzt immer gemacht keinder hat das mir gesagt.<br />
Aber der Fehler lag auch nicht am header.</p>
<p>Aber Danke. <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="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362046</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362046</guid><dc:creator><![CDATA[titanium]]></dc:creator><pubDate>Sun, 09 Sep 2007 16:54:50 GMT</pubDate></item><item><title><![CDATA[Reply to Borland 2006 fstream funktioniert nicht????? on Sun, 09 Sep 2007 17:04:12 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Das der Borland Compiler fstream.h akzeptiert ist nur eine Art Gnade. Laut C++ Standard ist es nicht gültig, also solltest du es nie benutzen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362051</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362051</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sun, 09 Sep 2007 17:04:12 GMT</pubDate></item></channel></rss>