<?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[COUT oder andere Ausgabefunktionen bei C++]]></title><description><![CDATA[<p>Hallo.<br />
Ich lerne grade C++ aus einem Buch. Jedenfalls, gibt es da die Ausgabefunktion Cout. Wenn ich ein Quelltext mit Cout schreibe z.B:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;

main()
{
   cout &lt;&lt; &quot;Hallo, wie geht's&quot; &lt;&lt; endl;
}
</code></pre>
<p>dann erscheint ja die Eingabeaufforderung mit dem Text.<br />
Ist es da normal das die Eingabeaufforderung so kurz offen ist, dass sie sich sofort wieder schließt. Ich baue immer eine Eingabe-Funktion z.B cin ein, damit ich den Text wenigstens lesen kann.<br />
Jedenfalls, meine Frage ist, ob das normal ist, mit dem schnellen schließen??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/263576/cout-oder-andere-ausgabefunktionen-bei-c</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 14:32:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/263576.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Mar 2010 21:12:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Mon, 22 Mar 2010 21:12:59 GMT]]></title><description><![CDATA[<p>Hallo.<br />
Ich lerne grade C++ aus einem Buch. Jedenfalls, gibt es da die Ausgabefunktion Cout. Wenn ich ein Quelltext mit Cout schreibe z.B:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;

main()
{
   cout &lt;&lt; &quot;Hallo, wie geht's&quot; &lt;&lt; endl;
}
</code></pre>
<p>dann erscheint ja die Eingabeaufforderung mit dem Text.<br />
Ist es da normal das die Eingabeaufforderung so kurz offen ist, dass sie sich sofort wieder schließt. Ich baue immer eine Eingabe-Funktion z.B cin ein, damit ich den Text wenigstens lesen kann.<br />
Jedenfalls, meine Frage ist, ob das normal ist, mit dem schnellen schließen??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1872722</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1872722</guid><dc:creator><![CDATA[Bakku]]></dc:creator><pubDate>Mon, 22 Mar 2010 21:12:59 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Mon, 22 Mar 2010 21:14:50 GMT]]></title><description><![CDATA[<p>Ja, dein Programm ist nach der Ausgabe ja zu Ende. Das heißt es beendet sich.</p>
<p>Wenn du noch auf einen Tastendruck warten willst, dann musst du das auch bekannt geben (dafür Code schreiben).</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1872723</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1872723</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Mon, 22 Mar 2010 21:14:50 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Mon, 22 Mar 2010 21:15:45 GMT]]></title><description><![CDATA[<p>Ist normal.<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-111042.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-111042.html</a><br />
<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/1872726</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1872726</guid><dc:creator><![CDATA[mngbd]]></dc:creator><pubDate>Mon, 22 Mar 2010 21:15:45 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Mon, 22 Mar 2010 22:17:10 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-1819.html" rel="nofollow">rüdiger</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-8.html" rel="nofollow">Rund um die Programmierung</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1872747</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1872747</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Mon, 22 Mar 2010 22:17:10 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Mon, 22 Mar 2010 22:47:53 GMT]]></title><description><![CDATA[<p>Deine Main funktion ist übrigens falsch. Richtig wäre:<br />
int main()<br />
{<br />
...<br />
}</p>
<p>Und das die Funktion keinen Rückgabewert hat ist _nur_ bei main erlaubt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1872754</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1872754</guid><dc:creator><![CDATA[Janjan]]></dc:creator><pubDate>Mon, 22 Mar 2010 22:47:53 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Tue, 23 Mar 2010 19:53:27 GMT]]></title><description><![CDATA[<p>Janjan schrieb:</p>
<blockquote>
<p>Deine Main funktion ist übrigens falsch. Richtig wäre:<br />
int main()<br />
{<br />
...<br />
}</p>
<p>Und das die Funktion keinen Rückgabewert hat ist _nur_ bei main erlaubt.</p>
</blockquote>
<p>Ja aber funktionieren tuts auch ohne main</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1873065</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1873065</guid><dc:creator><![CDATA[Bakku]]></dc:creator><pubDate>Tue, 23 Mar 2010 19:53:27 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Tue, 23 Mar 2010 20:13:34 GMT]]></title><description><![CDATA[<p>Bakku schrieb:</p>
<blockquote>
<p>Ja aber funktionieren tuts auch ohne main</p>
</blockquote>
<p>Das macht es nicht weniger falsch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1873076</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1873076</guid><dc:creator><![CDATA[Janjan]]></dc:creator><pubDate>Tue, 23 Mar 2010 20:13:34 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Wed, 24 Mar 2010 11:49:25 GMT]]></title><description><![CDATA[<p>Bakku schrieb:</p>
<blockquote>
<p>Ja aber funktionieren tuts auch ohne main</p>
</blockquote>
<p>1. Du meinst wohl ohne int.<br />
2. Ist es dennoch falsch. Ich arbeite Grundsätzlich mit der höchsten Wahrnstufe, und je nach Compiler liefert dies dann entweder eine Warnung oder einen Fehler.</p>
<p>In C++ ist die Angabe des Rückgabewertes verpflichtend, auch wenn einige Compiler damit sehr lässig umgehen. Auch das häufig gesehene &quot;void main&quot; ist nach dem C++ Standard falsch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1873221</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1873221</guid><dc:creator><![CDATA[asc]]></dc:creator><pubDate>Wed, 24 Mar 2010 11:49:25 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Wed, 24 Mar 2010 15:08:59 GMT]]></title><description><![CDATA[<p>asc schrieb:</p>
<blockquote>
<p>2. Ich arbeite Grundsätzlich mit der höchsten Wahrnstufe, und je nach Compiler liefert dies dann entweder eine Warnung oder einen Fehler.</p>
</blockquote>
<p>Meine IDE lässt mich garnicht erst kompilieren, wenn da was anderes als int main steht :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1873372</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1873372</guid><dc:creator><![CDATA[freaky]]></dc:creator><pubDate>Wed, 24 Mar 2010 15:08:59 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Wed, 24 Mar 2010 19:28:33 GMT]]></title><description><![CDATA[<p>FreakY&lt;3Cpp schrieb:</p>
<blockquote>
<p>asc schrieb:</p>
<blockquote>
<p>2. Ich arbeite Grundsätzlich mit der höchsten Wahrnstufe, und je nach Compiler liefert dies dann entweder eine Warnung oder einen Fehler.</p>
</blockquote>
<p>Meine IDE lässt mich garnicht erst kompilieren, wenn da was anderes als int main steht :p</p>
</blockquote>
<p>Deine <strong>IDE</strong>?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1873518</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1873518</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Wed, 24 Mar 2010 19:28:33 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Thu, 25 Mar 2010 14:47:10 GMT]]></title><description><![CDATA[<p>Es soll ja IDEs geben, die nicht alle Möglichkeiten des Compilers oder des Linkers zur Verfügung stellen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>MfG f.-th.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1873817</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1873817</guid><dc:creator><![CDATA[f.-th.]]></dc:creator><pubDate>Thu, 25 Mar 2010 14:47:10 GMT</pubDate></item><item><title><![CDATA[Reply to COUT oder andere Ausgabefunktionen bei C++ on Thu, 25 Mar 2010 18:04:50 GMT]]></title><description><![CDATA[<p>Bakku schrieb:</p>
<blockquote>
<p>Janjan schrieb:</p>
<blockquote>
<p>Deine Main funktion ist übrigens falsch. Richtig wäre:<br />
int main()<br />
{<br />
...<br />
}</p>
<p>Und das die Funktion keinen Rückgabewert hat ist _nur_ bei main erlaubt.</p>
</blockquote>
<p>Ja aber funktionieren tuts auch ohne main</p>
</blockquote>
<p>Regel Nr. 1: Nur weil etwas gerade zufällig irgend wie funktioniert, heißt es nicht, dass es richtig ist oder man es so machen soll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1873891</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1873891</guid><dc:creator><![CDATA[HalloWelt]]></dc:creator><pubDate>Thu, 25 Mar 2010 18:04:50 GMT</pubDate></item></channel></rss>