<?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[double]]></title><description><![CDATA[<p>Hallo leute ich wolllte bei c++ irgendwie zwei double werte addieren .</p>
<p>Wobei ich zuerst abfragen wollte die werte , die addiert werden sollen.</p>
<p>Irgendwie scheint mein programm komplettes müll zu sein und ich wollte euch um hilfe bitten wie man das machen .</p>
<p>Ich versuche irgendwie c++ zu lernen.</p>
<pre><code>#include &lt;iostream&gt;
using namespace std;

int main() {

	double a = nummer1;

	double b = nummer2;

	double total = nummer1 + nummer2; 

	cout &lt;&lt; &quot;Geben sie die erste Zahl an mit der die zweite addiert werden soll an !&quot; &lt;&lt; endl;

	cin &gt;&gt; nummer1;

	cout &lt;&lt; &quot;Geben sie die zweite  Zahl an !&quot;&lt;&lt; endl;

	cin &gt;&gt; nummer2;

	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/313835/double</link><generator>RSS for Node</generator><lastBuildDate>Sat, 01 Aug 2026 18:38:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/313835.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Feb 2013 20:02:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to double on Mon, 11 Feb 2013 20:02:58 GMT]]></title><description><![CDATA[<p>Hallo leute ich wolllte bei c++ irgendwie zwei double werte addieren .</p>
<p>Wobei ich zuerst abfragen wollte die werte , die addiert werden sollen.</p>
<p>Irgendwie scheint mein programm komplettes müll zu sein und ich wollte euch um hilfe bitten wie man das machen .</p>
<p>Ich versuche irgendwie c++ zu lernen.</p>
<pre><code>#include &lt;iostream&gt;
using namespace std;

int main() {

	double a = nummer1;

	double b = nummer2;

	double total = nummer1 + nummer2; 

	cout &lt;&lt; &quot;Geben sie die erste Zahl an mit der die zweite addiert werden soll an !&quot; &lt;&lt; endl;

	cin &gt;&gt; nummer1;

	cout &lt;&lt; &quot;Geben sie die zweite  Zahl an !&quot;&lt;&lt; endl;

	cin &gt;&gt; nummer2;

	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2297993</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2297993</guid><dc:creator><![CDATA[cash]]></dc:creator><pubDate>Mon, 11 Feb 2013 20:02:58 GMT</pubDate></item><item><title><![CDATA[Reply to double on Thu, 12 Jun 2014 11:01:31 GMT]]></title><description><![CDATA[<p>...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2297995</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2297995</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Thu, 12 Jun 2014 11:01:31 GMT</pubDate></item><item><title><![CDATA[Reply to double on Mon, 11 Feb 2013 20:13:17 GMT]]></title><description><![CDATA[<p>Lern doch irgendwie Grammatik!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2297996</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2297996</guid><dc:creator><![CDATA[duden]]></dc:creator><pubDate>Mon, 11 Feb 2013 20:13:17 GMT</pubDate></item><item><title><![CDATA[Reply to double on Mon, 11 Feb 2013 20:40:18 GMT]]></title><description><![CDATA[<p>cash schrieb:</p>
<blockquote>
<p>Ich versuche irgendwie c++ zu lernen.</p>
</blockquote>
<p>Wenn du ernsthaft C++ lernen willst, dann besorg dir ein <a href="http://www.c-plusplus.net/forum/251551" rel="nofollow">gutes Buch</a> und lies es.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298000</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298000</guid><dc:creator><![CDATA[dot]]></dc:creator><pubDate>Mon, 11 Feb 2013 20:40:18 GMT</pubDate></item><item><title><![CDATA[Reply to double on Mon, 11 Feb 2013 21:24:21 GMT]]></title><description><![CDATA[<p>Ich hab ein buch aber trotzdem probleme bei der anwendung .</p>
<p>Könnt ihr mir sagen was ich genau an meinem Programm berichtigen muss?<br />
Das ist ja sowieso freies programmieren und kein HA.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298007</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298007</guid><dc:creator><![CDATA[cash]]></dc:creator><pubDate>Mon, 11 Feb 2013 21:24:21 GMT</pubDate></item><item><title><![CDATA[Reply to double on Mon, 11 Feb 2013 21:27:28 GMT]]></title><description><![CDATA[<pre><code>#include &lt;iostream&gt;
using namespace std;

int main() {

	double nummer1;

	double nummer2;

	cout &lt;&lt; &quot;Geben sie die erste Zahl an mit der die zweite addiert werden soll an !&quot; &lt;&lt; endl;

	cin &gt;&gt; nummer1;

	cout &lt;&lt; &quot;Geben sie die zweite  Zahl an !&quot;&lt;&lt; endl;

	cin &gt;&gt; nummer2;

double total = nummer1 + nummer2; 

	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2298008</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298008</guid><dc:creator><![CDATA[out]]></dc:creator><pubDate>Mon, 11 Feb 2013 21:27:28 GMT</pubDate></item><item><title><![CDATA[Reply to double on Mon, 11 Feb 2013 21:28:25 GMT]]></title><description><![CDATA[<p>Vielleicht erklärst du eher mal, was du dir bei den jeweiligen Zeilen gedacht hast, denn dann kann man dir auch erklären, wo deine Denkfehler liegen.<br />
nummer1 und nummer2 existieren nicht, also kannst du sie auch nicht benutzen, um a und b zu initialisieren oder Werte einzulesen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298009</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298009</guid><dc:creator><![CDATA[Athar]]></dc:creator><pubDate>Mon, 11 Feb 2013 21:28:25 GMT</pubDate></item><item><title><![CDATA[Reply to double on Mon, 11 Feb 2013 21:30:15 GMT]]></title><description><![CDATA[<blockquote>
<p>Könnt ihr mir sagen was ich genau an meinem Programm berichtigen muss?</p>
</blockquote>
<p>Du musst woanders anfangen.<br />
Dein Programm hat nicht einfach einige Unschönheiten, Flüchtigkeitsfehler o. ä., sondern dir fehlt einfach ein Verständnis der Sprache.<br />
Daher <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /> Buch</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298011</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298011</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Mon, 11 Feb 2013 21:30:15 GMT</pubDate></item><item><title><![CDATA[Reply to double on Tue, 12 Feb 2013 00:46:19 GMT]]></title><description><![CDATA[<p>Wie soll ich nummer 1 und nummer 2 erstellen?</p>
<p>Ich glaube das würde mir als hilfe schon reichen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298053</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298053</guid><dc:creator><![CDATA[Kyle21]]></dc:creator><pubDate>Tue, 12 Feb 2013 00:46:19 GMT</pubDate></item><item><title><![CDATA[Reply to double on Tue, 12 Feb 2013 01:45:35 GMT]]></title><description><![CDATA[<p>Hey leute ich hab bisschen rumprobiert und mein code funktioniert auch soweit.</p>
<p>Jetzt wollte ich mein summiertes ergebnis rechtsbündig nazeigen in einer neuen Zeile .</p>
<p>Ich habs auch irgendwie in meinem code eingegeben , aber das programm macht nichts.</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;iomanip&gt;
using namespace std;

int main() {

    double nummer1 = 0;

    double nummer2=  0;

    std::cout &lt;&lt; &quot;Geben sie die erste Zahl an mit der die zweite addiert werden soll an !&quot; &lt;&lt; std::endl;

    std::cin &gt;&gt; nummer1;

    std::cout &lt;&lt; &quot;Geben sie die zweite  Zahl an !&quot;&lt;&lt; std::endl;

    std::cin &gt;&gt; nummer2;

    std::cout &lt;&lt; &quot;Die Summe von den zwei Zahlen ist&quot; &lt;&lt; &quot;  &quot; &lt;&lt; nummer1+nummer2 &lt;&lt; endl &lt;&lt; setw(4) &lt;&lt; right &lt;&lt;std::endl;

    return 0;
}
</code></pre>
<p>Für hilfe wäre ich dankbar.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298057</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298057</guid><dc:creator><![CDATA[Kyle23]]></dc:creator><pubDate>Tue, 12 Feb 2013 01:45:35 GMT</pubDate></item><item><title><![CDATA[Reply to double on Tue, 12 Feb 2013 08:00:05 GMT]]></title><description><![CDATA[<p>Ich glaube dein Problem liegt darin, als dass du dir nicht über die Reihenfolge im Klaren bist.</p>
<p>Ein Programm (in solch einer imperativen Sprache wie C++, es gibt natürlich andere gegensätzliche Beispiele) wird von oben nach unten schön der Reihe nach ausgeführt.</p>
<p>Das heisst, wenn du erst etwas ausgibst und danach deine Formatierungen auf rechtsbündig setzt, bringt das logischerweise nichts.<br />
Das gleiche Problem hattest du mit den Variablen einlesen und berechnen. Du wolltest erst berechnen, dann die Variablen erstellen und dann einlesen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298078</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298078</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Tue, 12 Feb 2013 08:00:05 GMT</pubDate></item><item><title><![CDATA[Reply to double on Tue, 12 Feb 2013 09:35:09 GMT]]></title><description><![CDATA[<p>Sone schrieb:</p>
<blockquote>
<p>Dein Programm hat nicht einfach einige Unschönheiten, Flüchtigkeitsfehler o. ä., sondern dir fehlt einfach ein Verständnis der Sprache.<br />
Daher <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /> Buch</p>
</blockquote>
<p>Meinst du Deutsch oder C++?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298102</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298102</guid><dc:creator><![CDATA[*Rewind*]]></dc:creator><pubDate>Tue, 12 Feb 2013 09:35:09 GMT</pubDate></item><item><title><![CDATA[Reply to double on Wed, 13 Feb 2013 05:57:08 GMT]]></title><description><![CDATA[<p>[Rewind] schrieb:</p>
<blockquote>
<p>Sone schrieb:</p>
<blockquote>
<p>Dein Programm hat nicht einfach einige Unschönheiten, Flüchtigkeitsfehler o. ä., sondern dir fehlt einfach ein Verständnis der Sprache.<br />
Daher <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /> Buch</p>
</blockquote>
<p>Meinst du Deutsch oder C++?</p>
</blockquote>
<p>Ich glaube nicht, dass wenn man kein Deutsch kann, einem ein in Deutsch geschriebenes Buch weiterhilft.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298480</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298480</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Wed, 13 Feb 2013 05:57:08 GMT</pubDate></item><item><title><![CDATA[Reply to double on Wed, 13 Feb 2013 05:59:53 GMT]]></title><description><![CDATA[<p>Nein, er meinte ob du mit Sprache Deutsch oder C++ gemeint hast...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298482</guid><dc:creator><![CDATA[Nathan]]></dc:creator><pubDate>Wed, 13 Feb 2013 05:59:53 GMT</pubDate></item><item><title><![CDATA[Reply to double on Wed, 13 Feb 2013 07:04:18 GMT]]></title><description><![CDATA[<p>Sone schrieb:</p>
<blockquote>
<p>Ich glaube nicht, dass wenn man kein Deutsch kann, einem ein in Deutsch geschriebenes Buch weiterhilft.</p>
</blockquote>
<p>Mh, die meisten Fachbücher in unserer Branche sind auf Englisch. Mein Englisch ist jetzt nicht verhandlungssicher, sollte ich diese Bücher dann doch lieber nicht lesen, weil ich sie nicht verstehe?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298485</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298485</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Wed, 13 Feb 2013 07:04:18 GMT</pubDate></item><item><title><![CDATA[Reply to double on Wed, 13 Feb 2013 08:52:07 GMT]]></title><description><![CDATA[<p>Nathan schrieb:</p>
<blockquote>
<p>Nein, er meinte ob du mit Sprache Deutsch oder C++ gemeint hast...</p>
</blockquote>
<p>C++ ^^</p>
<blockquote>
<p>sollte ich diese Bücher dann doch lieber nicht lesen, weil ich sie nicht verstehe?</p>
</blockquote>
<p>Wenn du sie nicht verstehst: lol, nein! Was zum Teufel würde dir das bringen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298512</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298512</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Wed, 13 Feb 2013 08:52:07 GMT</pubDate></item><item><title><![CDATA[Reply to double on Wed, 13 Feb 2013 09:01:45 GMT]]></title><description><![CDATA[<p>Ups, ich merk grad ich hab mich was verplappert.<br />
Ich meinte eigentlich:</p>
<p>Skym0sh0 schrieb:</p>
<blockquote>
<p>Mh, die meisten Fachbücher in unserer Branche sind auf Englisch. Mein Englisch ist jetzt nicht verhandlungssicher, sollte ich diese Bücher dann doch lieber nicht lesen, weil ich sie nicht ...</p>
</blockquote>
<p>.... zu exakten 100% verstehe. (Als nicht Native-Speaker versteht man manche Redewendungen halt nicht immer.)</p>
<p>Sone schrieb:</p>
<blockquote>
<blockquote>
<p>sollte ich diese Bücher dann doch lieber nicht lesen, weil ich sie nicht verstehe?</p>
</blockquote>
<p>Wenn du sie nicht verstehst: lol, nein! Was zum Teufel würde dir das bringen?</p>
</blockquote>
<p>Aber zu deiner Frage: Wegen den schönen Bildchen <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=";D"
      alt="😉"
    /></p>
<p>Auf der anderen Seite, durch sowas baut er doch seine sprachlichen Fähigkeiten aus, also in dem Fall im Deutschen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2298515</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2298515</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Wed, 13 Feb 2013 09:01:45 GMT</pubDate></item></channel></rss>