<?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[Wie programmiere ich eine einfache Addition in C++?]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>Wie mein Titel schon beschreibt möchte ich eine einfache Addition in C++ programmieren und dass Ergebinis dan ausgeben lassen!</p>
<p>Ich bin blutiger Anfänger in dieser Materie und würde mich über Problemlösende Postings freun! (schließlich haben wir alle einmal klein angefangen.)</p>
<p>Vielleicht hat jemand einen Buchtipp oder so!<br />
Danke im Voraus!</p>
<p>Darknight11</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/290953/wie-programmiere-ich-eine-einfache-addition-in-c</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 23:12:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/290953.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Aug 2011 16:56:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 16:56:43 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>Wie mein Titel schon beschreibt möchte ich eine einfache Addition in C++ programmieren und dass Ergebinis dan ausgeben lassen!</p>
<p>Ich bin blutiger Anfänger in dieser Materie und würde mich über Problemlösende Postings freun! (schließlich haben wir alle einmal klein angefangen.)</p>
<p>Vielleicht hat jemand einen Buchtipp oder so!<br />
Danke im Voraus!</p>
<p>Darknight11</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103043</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103043</guid><dc:creator><![CDATA[darknight11]]></dc:creator><pubDate>Sun, 07 Aug 2011 16:56:43 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 16:58:12 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;iostream&gt;
int main()
{
  std::cout &lt;&lt; 3 + 6;
}
</code></pre>
<p>Buchtipp: C++ Primer</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103044</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103044</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Sun, 07 Aug 2011 16:58:12 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 16:59:17 GMT]]></title><description><![CDATA[<p>Ich glaube, er möchte binär addieren wie eine CPU.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103045</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103045</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Sun, 07 Aug 2011 16:59:17 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 17:03:39 GMT]]></title><description><![CDATA[<p>darknight11 schrieb:</p>
<blockquote>
<p>Vielleicht hat jemand einen Buchtipp oder so!Darknight11</p>
</blockquote>
<p>- C++ Primer (4. Auflage)<br />
- Der C++ Programmierer von Ulrich Breymann (ich glaub, da kam vor ein paar Tagen die 2. Auflage raus.)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103047</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103047</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sun, 07 Aug 2011 17:03:39 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 17:14:49 GMT]]></title><description><![CDATA[<p>Danke für die schnellen Postings!</p>
<p>was möchte ich? ich möchte folgendes:</p>
<p>ich möchte 2 Variable vom type int miteinander addieren und das ergebnis samt rechnug ausgaben.</p>
<p>#include &lt;stdio.h&gt;<br />
int main()<br />
{<br />
int a = 12;<br />
int b = 23;<br />
printf (&quot;%,a+b);<br />
getchar();<br />
return 0;<br />
}</p>
<p>was mach ich falsch bin echt gewillt dass zu lernen!<br />
thx<br />
Darknight11</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103051</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103051</guid><dc:creator><![CDATA[darknight11]]></dc:creator><pubDate>Sun, 07 Aug 2011 17:14:49 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 17:18:09 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;iostream&gt; 
int main() 
{ 
  int Zahl1 = 3;
  int Zahl2 = 6;
  std::cout &lt;&lt; Zahl1 &lt;&lt; &quot; + &quot; &lt;&lt; Zahl2 &lt;&lt; &quot; = &quot; &lt;&lt; Zahl1 + Zahl2;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2103055</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103055</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Sun, 07 Aug 2011 17:18:09 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 17:19:42 GMT]]></title><description><![CDATA[<p>darknight schrieb:</p>
<blockquote>
<pre><code class="language-cpp">#include &lt;stdio.h&gt;
int main()
{
int a = 12;
int b = 23;
printf (&quot;%,a+b);
getchar();
return 0;
}
</code></pre>
</blockquote>
<p>Das ist reines C. Möchtest Du bei C bleiben oder auch C++-Dinge nehmen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103056</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103056</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sun, 07 Aug 2011 17:19:42 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 17:29:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/106">@volkard</a><br />
was würdest du mir empfehlen mit was ich anfangen soll?<br />
was ist einfacher zu verstehen für ein blutigen Angänger wie mich?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103061</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103061</guid><dc:creator><![CDATA[darknight11]]></dc:creator><pubDate>Sun, 07 Aug 2011 17:29:32 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 17:31:17 GMT]]></title><description><![CDATA[<p>Ja pur C und in Zeile 6 fehlt was.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103062</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103062</guid><dc:creator><![CDATA[f.-th.]]></dc:creator><pubDate>Sun, 07 Aug 2011 17:31:17 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 17:39:33 GMT]]></title><description><![CDATA[<p>Für die meisten ist es am besten, gleich mit C++ anzufangen, vermute ich vage.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103068</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103068</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sun, 07 Aug 2011 17:39:33 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 17:40:46 GMT]]></title><description><![CDATA[<p>darknight11 schrieb:</p>
<blockquote>
<p>Danke für die schnellen Postings!</p>
<p>was möchte ich? ich möchte folgendes:</p>
<p>ich möchte 2 Variable vom type int miteinander addieren und das ergebnis samt rechnug ausgaben.</p>
<p>#include &lt;stdio.h&gt;<br />
int main()<br />
{<br />
int a = 12;<br />
int b = 23;<br />
printf (&quot;%,a+b);<br />
getchar();<br />
return 0;<br />
}</p>
<p>was mach ich falsch bin echt gewillt dass zu lernen!<br />
thx<br />
Darknight11</p>
</blockquote>
<p>Deine printf-Zeile ist völlig falsch. Schau doch bitte mal in die Doku, da gibt's ne genaue Beschreibung und meist auch Beispiele.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103069</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103069</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Sun, 07 Aug 2011 17:40:46 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 17:59:46 GMT]]></title><description><![CDATA[<p>entweder er gib mir nur die rechnung aus oder gleich gar nix!<br />
versteh ich %d noch nicht ganz.</p>
<p>prinf ist ja dazu da einen einen text auszugeben. zb. printf(&quot;hallo&quot;); (dass funktiionier auch! verbessert mich wenn ich absoluten mist hier verzapfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103077</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103077</guid><dc:creator><![CDATA[darknight11]]></dc:creator><pubDate>Sun, 07 Aug 2011 17:59:46 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Sun, 07 Aug 2011 18:04:26 GMT]]></title><description><![CDATA[<p>Ist es denn wirklich so schwer, sich einfach mal <a href="http://www.cplusplus.com/reference/clibrary/cstdio/printf" rel="nofollow">das hier</a> durchzulesen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103084</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103084</guid><dc:creator><![CDATA[cooky451]]></dc:creator><pubDate>Sun, 07 Aug 2011 18:04:26 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 04:51:44 GMT]]></title><description><![CDATA[<p>darknight11 schrieb:</p>
<blockquote>
<p>entweder er gib mir nur die rechnung aus oder gleich gar nix!<br />
versteh ich %d noch nicht ganz.</p>
</blockquote>
<p>Da wird sicher nix ausgeben, weil das Programm, so wie du es hier gepostet hast, gar nicht kompilierbar und damit nicht ausführbar ist. Sicher, dass du es genau so geschrieben hast, wie es hier steht? Ich hoffe, du hast es nicht abgetippt, anstatt Copy&amp;Paste zu verwenden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103207</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103207</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Mon, 08 Aug 2011 04:51:44 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 05:42:40 GMT]]></title><description><![CDATA[<p>Vermute der Beitragsersteller hat</p>
<pre><code class="language-cpp">printf (&quot;%,a+b&quot;);
</code></pre>
<p>versucht. Da sieht er natürlich kein Ergebnis.</p>
<p>printf sollte die Abkürzung für print formatted sein.<br />
%d ist der Platzhalter für die formatierte Ausgabe.</p>
<p>Probiere mal</p>
<pre><code class="language-cpp">printf (&quot;%d&quot;,a+b);
</code></pre>
<p>und dann</p>
<pre><code class="language-cpp">printf (&quot;%6d&quot;,a+b);
</code></pre>
<p>und dann noch mit a+b = 70 oder ähnlich</p>
<pre><code class="language-cpp">printf (&quot;%c&quot;,a+b&quot;);
</code></pre>
<p>und versuche die Unterschiede zu verstehen.<br />
Wenn du alles in einem Quelltext testen möchtest, Zeilenvorschub einsetzen. Dann erkennt man die Unterschiede deutlicher.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103213</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103213</guid><dc:creator><![CDATA[f.-th.]]></dc:creator><pubDate>Mon, 08 Aug 2011 05:42:40 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 06:25:17 GMT]]></title><description><![CDATA[<p>Und in C++ nutzt man printf gar nicht mehr. Das ist auch nichts, was man am Anfang Mal nutzen sollte, um es später wegzulassen, das sollte man einfach von Vornerein nicht nehmen.</p>
<p>Alternative wurde schon gezeigt, man nutzt einfach cout. Und das Tolle daran ist, dass cout superschlau ist und die Typen alle automatisch erkennt, sodass man kein %d oder sonst was mehr braucht. Dafür muss man jetzt &lt;&lt; benutzen und die Reihenfolge der Ausgabe entspricht der Reihenfolge, in der die Teilstrings/Variablen in cout &quot;hineingeschoben&quot; worden sind.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103225</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103225</guid><dc:creator><![CDATA[Eisflamme]]></dc:creator><pubDate>Mon, 08 Aug 2011 06:25:17 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 06:26:18 GMT]]></title><description><![CDATA[<p>Eisflamme schrieb:</p>
<blockquote>
<p>Und das Tolle daran ist, dass cout superschlau ist</p>
</blockquote>
<p>Besser gesagt: Typsicher</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103226</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103226</guid><dc:creator><![CDATA[EOutOfResources_At_Work]]></dc:creator><pubDate>Mon, 08 Aug 2011 06:26:18 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 06:32:12 GMT]]></title><description><![CDATA[<p>Ja, das ist der Fachausdruck für das, was cout so superschlau macht. Aber ich wollte OP doch enthusiastisch für cout machen. Da muss man doch auch Mal Begriffe wie &quot;toll&quot;, &quot;superschlau&quot; usw. verwenden!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103231</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103231</guid><dc:creator><![CDATA[Eisflamme]]></dc:creator><pubDate>Mon, 08 Aug 2011 06:32:12 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 06:36:00 GMT]]></title><description><![CDATA[<p>Formatierte Ausgabe C++:<br />
<a href="http://www.hs-augsburg.de/~flo1985/Info/inf3.pdf" rel="nofollow">http://www.hs-augsburg.de/~flo1985/Info/inf3.pdf</a></p>
<p>Erwähnt das auch in dem Zusammenhang. Denn man sieht ja immer wieder C++ Quelltexte, die deshalb auf printf() zurückgreifen weil denen das verlinkte nicht bekannt ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103232</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103232</guid><dc:creator><![CDATA[f.-th.]]></dc:creator><pubDate>Mon, 08 Aug 2011 06:36:00 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 07:04:50 GMT]]></title><description><![CDATA[<p>Für Freunde von printf habe ich heute etwas ganz besonderes im Angebot - nur heute zum halben Preis!</p>
<pre><code class="language-cpp">void print(const char* str)
{
    std::cout &lt;&lt; str;
}

template &lt;typename Head, typename... Tail&gt;
void print(const char* str, Head&amp;&amp; head, Tail&amp;&amp;... tail)
{
    while(*str != '%')
        std::cout &lt;&lt; *str++;
    std::cout &lt;&lt; head;

    print(++str, std::forward&lt;Tail&gt;(tail)...);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2103238</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103238</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Mon, 08 Aug 2011 07:04:50 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 07:21:00 GMT]]></title><description><![CDATA[<p>darknight11 schrieb:</p>
<blockquote>
<p>was ist einfacher zu verstehen für ein blutigen Angänger wie mich?</p>
</blockquote>
<p>einEN blutigen Anfaenger. Es heisst EINEN!!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103245</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103245</guid><dc:creator><![CDATA[SoVieleLegastheniker]]></dc:creator><pubDate>Mon, 08 Aug 2011 07:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 07:35:23 GMT]]></title><description><![CDATA[<blockquote>
<p>prinf ist ja dazu da einen einen text auszugeben. zb. printf(&quot;hallo&quot;); (dass funktiionier auch! verbessert mich wenn ich absoluten mist hier verzapfe!</p>
</blockquote>
<p>Ja, das funktioniert auch, das liegt aber daran, dass das einfach C ist. Du kannst ja mit den meisten Compilern beide Sprachen programmieren, man sollte sich aber bewusst sein, in welchem Bereich man sich befindet. Und printf ist in C einzuordnen. Denn dort gab es so ein Wunderding wie cout noch nicht. Und wenn Du alten C-Code von irgendwem geschickt bekommst, soll das dein Compiler ja auch verarbeiten können, daher klappt der Code.</p>
<p>Schau Mal, so einfach ist cout zu nutzen:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std; // diese Zeile oder man muss immer std:: vor cout schreiben

int main()
{
    double z = 1.5;
    int y = 200;
    cout &lt;&lt; &quot;Hallo, ich bin &quot; &lt;&lt; z &lt;&lt; &quot;m groß und wiege &quot; &lt;&lt; y &lt;&lt; &quot;kg. Ich weiß, ich bin Mal so richtig fett.&quot;;
    return 0;
}
</code></pre>
<p>Das ist doch viel praktischer als mit printf was hinzufriemeln!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103253</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103253</guid><dc:creator><![CDATA[Eisflamme]]></dc:creator><pubDate>Mon, 08 Aug 2011 07:35:23 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 11:12:06 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/22559">@Eisflamme</a></p>
<p>Danke für den Code!</p>
<p>Habe denn Code jz selber geschrieben doch irgendwie mag der compilier nicht so wirklich er verweist mich immer auf die int main(). Was mach ich falsch?</p>
<p>#include &lt;iostream&gt;</p>
<p>using namespace std::</p>
<p>int main()<br />
{<br />
double z = 1.5;<br />
int y = 200;<br />
cout &lt;&lt; &quot;hallo ich bin&quot; &lt;&lt; z &lt;&lt; &quot;m goss und wiege&quot; &lt;&lt; y &lt;&lt; &quot;kg&quot;;<br />
getchar();<br />
return 0;<br />
}<br />
kann dass am Compiler selbst liegen? verwende Dev-C++?<br />
Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103354</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103354</guid><dc:creator><![CDATA[darknight11]]></dc:creator><pubDate>Mon, 08 Aug 2011 11:12:06 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 11:20:56 GMT]]></title><description><![CDATA[<p>Fehlermeldung?</p>
<p>EDIT: Es muss so aussehen:</p>
<pre><code class="language-cpp">using namespace std;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2103359</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103359</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Mon, 08 Aug 2011 11:20:56 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 11:29:14 GMT]]></title><description><![CDATA[<p>314159265358979 schrieb:</p>
<blockquote>
<p>Für Freunde von printf habe ich heute etwas ganz besonderes im Angebot - nur heute zum halben Preis!</p>
</blockquote>
<p>Packs auf deine Homepage und einen Link darauf in deine Signatur - dann brauchst du es nicht bei jeder passenden und unpassenden Gelegenheit wieder rauskramen <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="😉"
    /><br />
Für den OP hat das zumindest im Moment garkeine Relevanz.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2103364</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103364</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Mon, 08 Aug 2011 11:29:14 GMT</pubDate></item><item><title><![CDATA[Reply to Wie programmiere ich eine einfache Addition in C++? on Mon, 08 Aug 2011 11:38:09 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std; // Semikolon statt zwei Doppelpunkte!

int main()
{
    double z = 1.5;
    int y = 200;
    cout &lt;&lt; &quot;hallo ich bin&quot; &lt;&lt; z &lt;&lt; &quot;m goss und wiege&quot; &lt;&lt; y &lt;&lt; &quot;kg&quot;;
    getchar();
    return 0; 
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2103368</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2103368</guid><dc:creator><![CDATA[Lösung]]></dc:creator><pubDate>Mon, 08 Aug 2011 11:38:09 GMT</pubDate></item></channel></rss>