<?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[fehler bei kompilieren]]></title><description><![CDATA[<p>hi,</p>
<p>beim kompilieren meines Projektes bekomme ich für mich unverständliche Fehlermeldung:</p>
<pre><code>#include &lt;iostream&gt;
class Output
{
public:
	static std::ostream out;

	static void close()
	{
		out.close();
	}
};
</code></pre>
<p>Fehlermeldung:</p>
<pre><code>error C2039: 'close' : is not a member of 'std::basic_ostream&lt;_Elem,_Traits&gt;'
1&gt;        with
1&gt;        [
1&gt;            _Elem=char,
1&gt;            _Traits=std::char_traits&lt;char&gt;
1&gt;        ]
</code></pre>
<p>konnte mir jemand helfen?</p>
<p>danke und Grüsse</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/266530/fehler-bei-kompilieren</link><generator>RSS for Node</generator><lastBuildDate>Thu, 03 Sep 2026 07:14:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/266530.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 May 2010 13:17:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to fehler bei kompilieren on Mon, 10 May 2010 13:17:07 GMT]]></title><description><![CDATA[<p>hi,</p>
<p>beim kompilieren meines Projektes bekomme ich für mich unverständliche Fehlermeldung:</p>
<pre><code>#include &lt;iostream&gt;
class Output
{
public:
	static std::ostream out;

	static void close()
	{
		out.close();
	}
};
</code></pre>
<p>Fehlermeldung:</p>
<pre><code>error C2039: 'close' : is not a member of 'std::basic_ostream&lt;_Elem,_Traits&gt;'
1&gt;        with
1&gt;        [
1&gt;            _Elem=char,
1&gt;            _Traits=std::char_traits&lt;char&gt;
1&gt;        ]
</code></pre>
<p>konnte mir jemand helfen?</p>
<p>danke und Grüsse</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1895124</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1895124</guid><dc:creator><![CDATA[gast17]]></dc:creator><pubDate>Mon, 10 May 2010 13:17:07 GMT</pubDate></item><item><title><![CDATA[Reply to fehler bei kompilieren on Mon, 10 May 2010 13:21:57 GMT]]></title><description><![CDATA[<p>ostream hat keine close-Methode. Das sagt auch schon die Fehlermeldung.<br />
Was du zu erreichen versuchst und in welchem Kontext das alles steht hast du leider nicht verraten - lies dir bitte einmal den Link in meiner Signatur durch und versorge uns mit den nötigen Informationen, dann kann dir besser geholfen werden <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/1895129</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1895129</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Mon, 10 May 2010 13:21:57 GMT</pubDate></item><item><title><![CDATA[Reply to fehler bei kompilieren on Mon, 10 May 2010 13:22:00 GMT]]></title><description><![CDATA[<p>Steht doch explizit dort. Die Klasse <code>std::ostream</code> bietet keine Funktion <code>close</code> an. Und wenn es diese Funktion nicht gibt, kannst du sie auch nicht aufrufen.</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1895130</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1895130</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Mon, 10 May 2010 13:22:00 GMT</pubDate></item><item><title><![CDATA[Reply to fehler bei kompilieren on Mon, 10 May 2010 14:35:27 GMT]]></title><description><![CDATA[<p>Oder wolltest du vielleicht ofstream verwenden?<br />
Dort gibt es eine Methode namens Close.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1895177</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1895177</guid><dc:creator><![CDATA[Jochen S.]]></dc:creator><pubDate>Mon, 10 May 2010 14:35:27 GMT</pubDate></item></channel></rss>