<?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[Hallo hab mal ne frage zu einem Syntaxfehler]]></title><description><![CDATA[<p>Hallo bin ganzer anfänger und habe keinerlei Ahnung von c++ wir sollen ein Programm erstellen und ich habe dauernd einen syntaxfehler hier mal mein quellcode hoffe ihr könnt mir helfen:</p>
<p>int main()<br />
{<br />
int x;<br />
int y = 2008;</p>
<p>cout&lt;&lt;&quot;bitte geben Sie ihr GEBURTSJAHR ein&quot;&gt;&gt;;<br />
cin&gt;&gt; x ;<br />
cout&lt;&lt;y-x=&quot;sum&quot;&gt;&gt;;</p>
<p>}</p>
<p>Die frage stellung lautet:<br />
Schreiben Sie ein Programm, das Sie zunächst mit einem freundlichen Text<br />
begrüßt, dann nach Ihrem Geburtsjahr fragt und schließlich Ihr Alter berechnet<br />
und auf den Bildschirm ausgibt.<br />
• Hinweis: Für das Geburtsjahr und das errechnete Alter benötigen Sie zwei<br />
Variablen vom Typ int.</p>
<p>vielen dank im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/228008/hallo-hab-mal-ne-frage-zu-einem-syntaxfehler</link><generator>RSS for Node</generator><lastBuildDate>Tue, 29 Sep 2026 17:59:47 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/228008.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Nov 2008 18:46:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hallo hab mal ne frage zu einem Syntaxfehler on Sat, 22 Nov 2008 18:46:44 GMT]]></title><description><![CDATA[<p>Hallo bin ganzer anfänger und habe keinerlei Ahnung von c++ wir sollen ein Programm erstellen und ich habe dauernd einen syntaxfehler hier mal mein quellcode hoffe ihr könnt mir helfen:</p>
<p>int main()<br />
{<br />
int x;<br />
int y = 2008;</p>
<p>cout&lt;&lt;&quot;bitte geben Sie ihr GEBURTSJAHR ein&quot;&gt;&gt;;<br />
cin&gt;&gt; x ;<br />
cout&lt;&lt;y-x=&quot;sum&quot;&gt;&gt;;</p>
<p>}</p>
<p>Die frage stellung lautet:<br />
Schreiben Sie ein Programm, das Sie zunächst mit einem freundlichen Text<br />
begrüßt, dann nach Ihrem Geburtsjahr fragt und schließlich Ihr Alter berechnet<br />
und auf den Bildschirm ausgibt.<br />
• Hinweis: Für das Geburtsjahr und das errechnete Alter benötigen Sie zwei<br />
Variablen vom Typ int.</p>
<p>vielen dank im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1619014</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1619014</guid><dc:creator><![CDATA[grotte]]></dc:creator><pubDate>Sat, 22 Nov 2008 18:46:44 GMT</pubDate></item><item><title><![CDATA[Reply to Hallo hab mal ne frage zu einem Syntaxfehler on Sat, 22 Nov 2008 19:36:10 GMT]]></title><description><![CDATA[<p>Wo ist den bitte der freundliche Text?<br />
Nein, im Ernst, mache Dir Gedanken was '&lt;&lt;' und '&gt;&gt;' ist</p>
<p>//Edit und die letzte Code Zeile ist total falsch</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1619028</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1619028</guid><dc:creator><![CDATA[Rostfrei**]]></dc:creator><pubDate>Sat, 22 Nov 2008 19:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to Hallo hab mal ne frage zu einem Syntaxfehler on Sun, 23 Nov 2008 12:23:25 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Dir fehlen grundlegende Kenntnisse über die Syntax von C++... ich empfehle dir ein gutes Tutorial oder Buch.</p>
<pre><code class="language-cpp">// cout&lt;&lt;y-x=&quot;sum&quot;&gt;&gt;; 
int sum = y -x;
cout &lt;&lt; &quot;sum &quot; &lt;&lt; sum &lt;&lt; endl;
</code></pre>
<p>Da du auch keine der Builder-spezifischen Erweiterungen benutzt, verschieb ich dich auch noch ins richtige Forum.</p>
<p>Und außerdem bitte beim Posten von Quellcode hier im Forum beachten : sfds</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1619280</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1619280</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sun, 23 Nov 2008 12:23:25 GMT</pubDate></item><item><title><![CDATA[Reply to Hallo hab mal ne frage zu einem Syntaxfehler on Sun, 23 Nov 2008 12:21:42 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-14774.html" rel="nofollow">akari</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-2.html" rel="nofollow">VCL (C++ Builder)</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/1619281</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1619281</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sun, 23 Nov 2008 12:21:42 GMT</pubDate></item></channel></rss>