<?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[C++ Programm Problem &#x2F;Frage]]></title><description><![CDATA[<p>Hallo,<br />
folgendes ist mein Anliegen.<br />
Ich Programmiere seit ca 4 Tagen ^^ ,was nicht gerade lange ist und wollte das was ich bis jetzt in mich reingefressen habe, mal in ein kleines Programm umsetzen. Die Beschriebung steht im Programm.<br />
Danke schonmal im Vorraus.</p>
<pre><code class="language-cpp">//Mein 1. Programm
//

#include &quot;stdafx.h&quot;
#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;Windows.h&gt;

using namespace std ;

int _tmain(int argc, _TCHAR* argv[])
{
	string Donald = &quot;Donald Duck geb am 08.08.1990 in Dissen&quot; ;
	string Peter = &quot;Peter Paula geb am 08.03.1966 in Osnabrück&quot; ;

	int name ;

	cout &lt;&lt;&quot;WO IST WER GEBOHREN&quot;&lt;&lt;endl&lt;&lt;endl;

	cout &lt;&lt;&quot;Donald Duck			&lt;1&gt; &quot; &lt;&lt; endl;
	cout &lt;&lt;&quot;Peter Paula		        &lt;2&gt; &quot; &lt;&lt; endl;
	cout &lt;&lt;&quot;Programm ENDE			&lt;3&gt; &quot; &lt;&lt; endl;
	cout &lt;&lt; endl;

		cout &lt;&lt; &quot;Ihre Eingabe: &quot;;
		cin &gt;&gt; name ;
		getchar () ;

if (name &gt;=4)
// Hier ist mein Problemfall
// Die If funktion wir true wenn name &gt;=4 ist, cout gibt den Text nun aus
{
	cout &lt;&lt; &quot;FEHLER !!!! Nenne Sie mir den entsprechenden Vornamen: &quot;;
	/* bei eingabe vom vornamen Kevin soll nun der Text der oben im stringt steht erscheinen		
	wie mach ich das ?? geht das überhaupt über ein cin ? oder muss ich eine geltine benutzen ?					
	*/

   cin&gt;&gt;Dobald;																	
	getchar();																			

}

	switch (name)
	// Habe bei der switch funktion das default weggelassen um in die if funktion zu kommen
	// spricht da was gegen (für das Prgramm jetzt)
	{ 
		case 1:										
		cout &lt;&lt;&quot;Dissen aTW&quot;&lt;&lt;endl ;
		getchar ();							
			break;

		case 2:
		cout &lt;&lt;&quot;Osnabrueck&quot;&lt;&lt;endl ;
		getchar () ;
			break ;

		case 3 :
		cout &lt;&lt;&quot;Das Programm wird Beendet&quot;;
			Sleep (1000);
			cout&lt;&lt; &quot;.&quot; ;
			Sleep (1000);
			cout&lt;&lt; &quot;.&quot; ;
			Sleep (1000);
			cout&lt;&lt; &quot;.&quot; ;
			Sleep (1000);
				break;

	}

	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/275313/c-programm-problem-frage</link><generator>RSS for Node</generator><lastBuildDate>Wed, 26 Aug 2026 22:22:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/275313.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Oct 2010 20:26:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Tue, 12 Oct 2010 20:26:50 GMT]]></title><description><![CDATA[<p>Hallo,<br />
folgendes ist mein Anliegen.<br />
Ich Programmiere seit ca 4 Tagen ^^ ,was nicht gerade lange ist und wollte das was ich bis jetzt in mich reingefressen habe, mal in ein kleines Programm umsetzen. Die Beschriebung steht im Programm.<br />
Danke schonmal im Vorraus.</p>
<pre><code class="language-cpp">//Mein 1. Programm
//

#include &quot;stdafx.h&quot;
#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;Windows.h&gt;

using namespace std ;

int _tmain(int argc, _TCHAR* argv[])
{
	string Donald = &quot;Donald Duck geb am 08.08.1990 in Dissen&quot; ;
	string Peter = &quot;Peter Paula geb am 08.03.1966 in Osnabrück&quot; ;

	int name ;

	cout &lt;&lt;&quot;WO IST WER GEBOHREN&quot;&lt;&lt;endl&lt;&lt;endl;

	cout &lt;&lt;&quot;Donald Duck			&lt;1&gt; &quot; &lt;&lt; endl;
	cout &lt;&lt;&quot;Peter Paula		        &lt;2&gt; &quot; &lt;&lt; endl;
	cout &lt;&lt;&quot;Programm ENDE			&lt;3&gt; &quot; &lt;&lt; endl;
	cout &lt;&lt; endl;

		cout &lt;&lt; &quot;Ihre Eingabe: &quot;;
		cin &gt;&gt; name ;
		getchar () ;

if (name &gt;=4)
// Hier ist mein Problemfall
// Die If funktion wir true wenn name &gt;=4 ist, cout gibt den Text nun aus
{
	cout &lt;&lt; &quot;FEHLER !!!! Nenne Sie mir den entsprechenden Vornamen: &quot;;
	/* bei eingabe vom vornamen Kevin soll nun der Text der oben im stringt steht erscheinen		
	wie mach ich das ?? geht das überhaupt über ein cin ? oder muss ich eine geltine benutzen ?					
	*/

   cin&gt;&gt;Dobald;																	
	getchar();																			

}

	switch (name)
	// Habe bei der switch funktion das default weggelassen um in die if funktion zu kommen
	// spricht da was gegen (für das Prgramm jetzt)
	{ 
		case 1:										
		cout &lt;&lt;&quot;Dissen aTW&quot;&lt;&lt;endl ;
		getchar ();							
			break;

		case 2:
		cout &lt;&lt;&quot;Osnabrueck&quot;&lt;&lt;endl ;
		getchar () ;
			break ;

		case 3 :
		cout &lt;&lt;&quot;Das Programm wird Beendet&quot;;
			Sleep (1000);
			cout&lt;&lt; &quot;.&quot; ;
			Sleep (1000);
			cout&lt;&lt; &quot;.&quot; ;
			Sleep (1000);
			cout&lt;&lt; &quot;.&quot; ;
			Sleep (1000);
				break;

	}

	return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1964644</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1964644</guid><dc:creator><![CDATA[oaquao]]></dc:creator><pubDate>Tue, 12 Oct 2010 20:26:50 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 11:48:32 GMT]]></title><description><![CDATA[<p>Ich werd nicht ganz so schlau draus, was genau dein Problem ist.<br />
Wenn du nur einen Vornamen ohne Leerzeichen einlesen willst, reicht std::cin aus, ansonsten brauchst du getline!<br />
Um abzufragen, ob der eingegebene Name &quot;Kevin&quot; ist, kannst du einfach</p>
<pre><code class="language-cpp">if(Donald == &quot;Kevin&quot;)
{
     //gib deinen text aus
}
</code></pre>
<p>Und wozu machst du am Anfang die 2 Strings? Du benutzt sie eigentlich nicht und überschreibst sie dann später nur <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> Und nach deiner switch is doch gar kein if mehr <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title="O_O"
      alt="😮"
    /> Und default kannst du trotzdem machen:</p>
<pre><code class="language-cpp">switch(name)
{
    default:
        cout &lt;&lt; &quot;Unbekannte eingabe!&quot; &lt;&lt; endl;
        break;
}
</code></pre>
<p>War es das was du wissen wolltest?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1964930</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1964930</guid><dc:creator><![CDATA[Finn]]></dc:creator><pubDate>Wed, 13 Oct 2010 11:48:32 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 13:52:51 GMT]]></title><description><![CDATA[<p>oaquao schrieb:</p>
<blockquote>
<pre><code class="language-cpp">if (name &gt;=4)
// Hier ist mein Problemfall
// Die If funktion wir true wenn name &gt;=4 ist, cout gibt den Text nun aus
{
	cout &lt;&lt; &quot;FEHLER !!!! Nenne Sie mir den entsprechenden Vornamen: &quot;;
	/* bei eingabe vom vornamen Kevin soll nun der Text der oben im stringt steht erscheinen		
	wie mach ich das ?? geht das überhaupt über ein cin ? oder muss ich eine geltine benutzen ?					
	*/

   cin&gt;&gt;Dobald;									getchar();									
}
</code></pre>
</blockquote>
<p>Es sollte wohl</p>
<pre><code class="language-cpp">cin&gt;&gt;Donald;
</code></pre>
<p>heissen denke ich <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="🙂"
    /><br />
Welcher String soll nach eingabe von &quot;Kevin&quot; ausgegeben werden? Ist mir nicht ganz klar.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965034</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965034</guid><dc:creator><![CDATA[inter2k3]]></dc:creator><pubDate>Wed, 13 Oct 2010 13:52:51 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 15:21:51 GMT]]></title><description><![CDATA[<p>Danke für die schnelle Antwort.<br />
Entweder versteh ich das nicht oder ich habe es zu schlecht erklärt.<br />
Wegen der Übersichtlichkeit hier nen kurzes Beispiel meines Problems.<br />
Mfg<br />
Kevin</p>
<pre><code class="language-cpp">/* Im ganzen Programm ist es vieleicht bissle schwer zu verstehen
	 Hier ein Beispiel des Problems
	 Mit hilfe von cout kann ich Donald Duck ja ganz einfach darstellen.
	 Jetzt will ich aber &quot;cin&quot; verwenden. Kann man bei &quot;cin&quot; nur Zahlen eingeben nach dem Debug oder kann ich es auch mit einem Wort ?
	 Ich meine das so wenn ich halt &quot;name&quot; eingabe soll er mir Donald Duck ausgeben ? Geht das ?
	 Mit einem int kann ich es ja ausgeben indem ich irgent eine Zahl verwende. Wie mache ich das allerdings bei einem Wort.

	*/

	string name ;

	name = &quot;Donald Duck&quot;;

	cin &gt;&gt; name ;          // Ist das so möglich ?

	getchar ();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1965086</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965086</guid><dc:creator><![CDATA[oaquao]]></dc:creator><pubDate>Wed, 13 Oct 2010 15:21:51 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 15:29:29 GMT]]></title><description><![CDATA[<p>Ich verstehe immer noch nicht was du willst. Gib mal einen beispielhaften Programmablauf an, ganz ohne Code. Zum Beispiel nach diesem Muster:</p>
<pre><code>[b]E:[/b] Was ist 1+1?
[b]A:[/b] 2
</code></pre>
<p>E: Benutzereingabe, A: Programmausgabe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965091</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965091</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Wed, 13 Oct 2010 15:29:29 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 15:32:16 GMT]]></title><description><![CDATA[<p>Also vorab rate ich dir ein gutes Buch über C++ zu besorgen.</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;string&gt;

int main()
{
   std::string Input;

   std::cin &gt;&gt; Input;          //Deine Eingabe wurde nun in der Variable Input abgespeichert

   if(Input.compare(&quot;Donald&quot;)==0)
      std::cout &lt;&lt; &quot;Hallo, Donald!\n&quot;;
   else
      std::cout &lt;&lt; &quot;Sorry, aber du bist mir nicht bekannt!\n&quot;;
}
</code></pre>
<p>Ich denke du solltest dir noch mal anschauen was std::cin macht, da es den Anschein hat als hättest du nicht verstanden was es macht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965094</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965094</guid><dc:creator><![CDATA[std__cin]]></dc:creator><pubDate>Wed, 13 Oct 2010 15:32:16 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 15:37:53 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<p>Ich verstehe immer noch nicht was du willst. Gib mal einen beispielhaften Programmablauf an, ganz ohne Code. Zum Beispiel nach diesem Muster:</p>
<pre><code>[b]E:[/b] Was ist 1+1?
[b]A:[/b] 2
</code></pre>
<p>E: Benutzereingabe, A: Programmausgabe</p>
</blockquote>
<p>Ich glaube er denkt das</p>
<pre><code class="language-cpp">cin &gt;&gt; Donald;
</code></pre>
<p>das wiedergibt was er vorher in den std::string rein geschrieben hat.</p>
<p>Sprich:</p>
<pre><code class="language-cpp">std::string Donald(&quot;Donald, Duck&quot;);
std::cin &gt;&gt; Donald;
</code></pre>
<p>schreibt &quot;Donald, Duck&quot; in die Konsole ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965098</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965098</guid><dc:creator><![CDATA[std__cin]]></dc:creator><pubDate>Wed, 13 Oct 2010 15:37:53 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 16:14:47 GMT]]></title><description><![CDATA[<p>if (name &gt;= 4)<br />
ist wahr wenn name 4, 5 oder irgendetwas groesser als drei ist...<br />
wenn als Ergebnis des Vergleichs TRUE, wahr, 1 oder irgendetwas was nicht 0 ist<br />
herauskommt wird das was nach if kommt ausgeführt...</p>
<p>wenn das Stünde:<br />
while( name &gt;= 4)<br />
dann wird das so lange ausgeführt bis name kleiner 4 ist, also 3, 2, 0 FALSE oder -1...</p>
<p>In C oder C++ wird das was nach der Bedingung kommt so lange ausgeführt bis die Bedingung Bedingung falsch ist, d.h. das Ergebnis des Vergleich false oder 0 ergibt und wenn du eine zahl die größer oder gleich 4 ist, dann ist das ergebnis true (1) deshalb ist die Abfrage falsch definiert, denke ich ich würde nehmen:<br />
if( name &lt; 4) {<br />
...<br />
}<br />
dann ist jede eingabe für name die kleiner als 4 ist wahr, also true...<br />
und wenn ich deiner Idee folge, kommt dann eine Ausgabe...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965122</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965122</guid><dc:creator><![CDATA[thepower]]></dc:creator><pubDate>Wed, 13 Oct 2010 16:14:47 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 16:19:33 GMT]]></title><description><![CDATA[<p>Danke für die Antwort<br />
Ich glaube ich habe eher nicht verstanden was cin macht ^^<br />
Da ich mir das alles selber bei bringe und ich das neben bei mache, ist das nicht so ganz leicht. Ich werde mir mal ein Buch über C++ kaufen. Habe bis jetzt nur ein Pdf buch was eigentlich nicht so schlecht ist aber was hardware in der hand zu haben ist immer besser ;).</p>
<p>Danke für die tips</p>
<p>Könnt ihr ein Buch empfehlen.<br />
mfg<br />
Kevin</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965125</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965125</guid><dc:creator><![CDATA[oaquao]]></dc:creator><pubDate>Wed, 13 Oct 2010 16:19:33 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 16:25:06 GMT]]></title><description><![CDATA[<p>oaquao schrieb:</p>
<blockquote>
<p>Könnt ihr ein Buch empfehlen.</p>
</blockquote>
<p>Nimm bloß nichts von Jürgen Wolf, das wäre schon einmal ein guter Anfang.</p>
<p>Wie sieht's mit deinem Englisch aus? Die meiste gut Literatur die ich kenne ist auf Deutsch nicht erhältlich. Wobei du Englisch ohnehin sehr bald lernen müsstest (falls du es noch nicht kannst), wenn du wirklich programmieren willst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965128</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965128</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Wed, 13 Oct 2010 16:25:06 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 16:28:02 GMT]]></title><description><![CDATA[<p>Also solange ich keine Grammatik brauche kann ich englisch eigentlich ganz gut <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 />
Also nen englisches buch verstehe ich schon.<br />
Kannste mir eins empfehlen ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965131</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965131</guid><dc:creator><![CDATA[oaquao]]></dc:creator><pubDate>Wed, 13 Oct 2010 16:28:02 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 16:40:21 GMT]]></title><description><![CDATA[<p>Gut ist zum Beispiel &quot;Thinking in C++&quot;. Das besonders tolle: Es ist gratis als Ebook verfügbar:<br />
<a href="http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html" rel="nofollow">http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html</a></p>
<p>Auch gut sein soll der &quot;C++ Primer&quot; wenn du den irgendwo besorgen kannst.</p>
<p>Und irgendwie habe ich den Eindruck, dass ich andauernd diesen Beitrag wieder schreibe, dewegen fasse ich mich heute einmal kurz und verweise auf meinen Beitrag von gestern:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-275290-and-start-is-10.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-275290-and-start-is-10.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965135</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Wed, 13 Oct 2010 16:40:21 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Wed, 13 Oct 2010 19:36:01 GMT]]></title><description><![CDATA[<p>Danke für die tipps<br />
Dann werde ich mal los lesen und üben üben üben <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1965227</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965227</guid><dc:creator><![CDATA[oaquao]]></dc:creator><pubDate>Wed, 13 Oct 2010 19:36:01 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Thu, 14 Oct 2010 15:19:23 GMT]]></title><description><![CDATA[<p>cin ist ein eingabestream, d.h. ein Objekt das mit der Standarteingabe verbunden ist, also stdin wenn du Unix nutzt für windowsnutzer die Tastatur :).<br />
get() ist eine Methode (Funktion) dieser Klasse...<br />
verrat mir einfach wo du hängst, ich rate nur hier rum was, bzw. wo dein Problem liegt???<br />
mfg KS</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965644</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965644</guid><dc:creator><![CDATA[thepower]]></dc:creator><pubDate>Thu, 14 Oct 2010 15:19:23 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Fri, 15 Oct 2010 16:05:04 GMT]]></title><description><![CDATA[<p>Ich möchte eine eingabe machen und dann soll ein text ausgegeben werden:</p>
<p>Also z.b.</p>
<p>Will ich im consolenfenster einen Namen eingeben.<br />
In der console könnte z.b. stehe</p>
<p>Gib deinen Vornamen ein:<br />
Wenn ich dann z.b. Kevin eingeben soll er mir dann was ausgeben wie bei der cin funktion.</p>
<p>Ausgabe z.b.</p>
<p>Hallo Kevin, wie geht es Ihnen heute ?</p>
<p>kannst du da was mit anfangen @ thepower `?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1966139</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1966139</guid><dc:creator><![CDATA[oaquao]]></dc:creator><pubDate>Fri, 15 Oct 2010 16:05:04 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Fri, 15 Oct 2010 16:45:42 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">std::string name;
std::cout&lt;&lt;&quot;Name eingeben: &quot;;
std::cin&gt;&gt;name;
std::cout&lt;&lt;&quot;Hallo &quot;&lt;&lt;name&lt;&lt;&quot;, wie geht es dir heute?&quot;;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1966164</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1966164</guid><dc:creator><![CDATA[inter2k3]]></dc:creator><pubDate>Fri, 15 Oct 2010 16:45:42 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm Problem &#x2F;Frage on Fri, 15 Oct 2010 17:33:53 GMT]]></title><description><![CDATA[<p>Danke<br />
jetzt gehts endlich</p>
<p>MFg<br />
kevin</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1966189</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1966189</guid><dc:creator><![CDATA[oaquao]]></dc:creator><pubDate>Fri, 15 Oct 2010 17:33:53 GMT</pubDate></item></channel></rss>