<?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[Komisches Problem]]></title><description><![CDATA[<p>Also ich bin ziemlich neu in C++ und ich hab en Programm geschrieben. Wo liegt der Fehler?</p>
<p>_______________<br />
#include &lt;iostream&gt;<br />
#include&lt;cstdlib&gt;<br />
using namespace std;</p>
<p>int main(){<br />
char var1;<br />
cout&lt;&lt;&quot;Begrüßen Sie mich!&quot;;<br />
cin&gt;&gt;var1;</p>
<p>if((char)var1 !=&quot;Hallo&quot;)<br />
{<br />
cout&lt;&lt;&quot;Hallo&quot;;<br />
}</p>
<p>}<br />
_______________________________</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/264910/komisches-problem</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Jul 2026 19:09:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/264910.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Apr 2010 17:49:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 17:49:11 GMT]]></title><description><![CDATA[<p>Also ich bin ziemlich neu in C++ und ich hab en Programm geschrieben. Wo liegt der Fehler?</p>
<p>_______________<br />
#include &lt;iostream&gt;<br />
#include&lt;cstdlib&gt;<br />
using namespace std;</p>
<p>int main(){<br />
char var1;<br />
cout&lt;&lt;&quot;Begrüßen Sie mich!&quot;;<br />
cin&gt;&gt;var1;</p>
<p>if((char)var1 !=&quot;Hallo&quot;)<br />
{<br />
cout&lt;&lt;&quot;Hallo&quot;;<br />
}</p>
<p>}<br />
_______________________________</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882968</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882968</guid><dc:creator><![CDATA[MatzeXxXx]]></dc:creator><pubDate>Wed, 14 Apr 2010 17:49:11 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 17:56:24 GMT]]></title><description><![CDATA[<p>var1 ist vom typ char, char kann nur ein einzelnes Zeichen speichern.<br />
Der Wert von char ist also niemals &quot;Hallo&quot;. Es wird also mit cin nur das erste Zeichen das der user eingibt gelesen.<br />
Wäre aber nützlich zu wissen was es für einen Fehler gibt.<br />
EDIT:<br />
Mir fällt grade auf: Warum zum Teufel willst du var1 auf char casten?<br />
Die Veriable ist bereits ein char,</p>
<blockquote>
<p>(char)</p>
</blockquote>
<p>ist also völlig unnötig</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882970</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882970</guid><dc:creator><![CDATA[Neophyte]]></dc:creator><pubDate>Wed, 14 Apr 2010 17:56:24 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 18:26:13 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Du kannst nicht einfach Charaktervariablen untereinander prüfen.<br />
Dazu gibt es die Funktion strcmp.</p>
<p>Ein funktionsfähiges Programm ist folgendes:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std;

int main ()
{
	char str [30];
	char hallo [6] = &quot;Hallo&quot;;
	cout &lt;&lt; &quot;Begrüßen sie mich: &quot;;
	cin &gt;&gt; str;
	if (strcmp (str, hallo))
	{
		cout &lt;&lt; &quot;Hallo&quot; &lt;&lt; &quot;\t\&quot;&quot; &lt;&lt; str &lt;&lt; &quot;\&quot;&quot; &lt;&lt; endl;
		cin.get ();
	}
	else
		cout &lt;&lt; &quot;Es wurde 'Hallo' eingegeben!&quot; &lt;&lt; endl;

	cin.get ();
	return 0;
}
</code></pre>
<p>Hoffe ich konnte helfen!</p>
<p>Edit: Nochma etwas verbessert...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882971</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882971</guid><dc:creator><![CDATA[Walnut_Burl]]></dc:creator><pubDate>Wed, 14 Apr 2010 18:26:13 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 18:02:39 GMT]]></title><description><![CDATA[<p>Ja schon ABER ich habe das Buch C++ von A bis Z und ich hatte den Befehl noch nicht. Also ich nehme an, mit der Zahl nach dem Name der Variable gebe ich die maximale Größe an, mit strcmp(str,hallo) überprüfe ich ob str und hallo gleich sind.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882974</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882974</guid><dc:creator><![CDATA[MatzeXxXx]]></dc:creator><pubDate>Wed, 14 Apr 2010 18:02:39 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 18:04:05 GMT]]></title><description><![CDATA[<p>Ich habe genau das selbe Buch...</p>
<p>Wenn du mir sagst auf welcher Seite du gerade bist kann ich mir die Stelle ja noch einmal angucken!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882976</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882976</guid><dc:creator><![CDATA[Walnut_Burl]]></dc:creator><pubDate>Wed, 14 Apr 2010 18:04:05 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 18:09:42 GMT]]></title><description><![CDATA[<p>Seite 90</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882978</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882978</guid><dc:creator><![CDATA[MatzeXxXx]]></dc:creator><pubDate>Wed, 14 Apr 2010 18:09:42 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 18:46:27 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/23485">@Walnut_Burl</a>:<br />
Warum inkludierst du denn &lt;string&gt; und arbeitest dann mit C-Strings?<br />
Viel einfacher geht es doch mit der Klasse string:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;string&gt;

using namespace std;

int main ()
{
    string str;
    string hallo = &quot;Hallo&quot;;

    cout &lt;&lt; &quot;Begrüßen sie mich: &quot;;
    cin &gt;&gt; str;
    if(str!=hallo)
    {
        cout &lt;&lt; &quot;Hallo&quot; &lt;&lt; &quot;\t\&quot;&quot; &lt;&lt; str &lt;&lt; &quot;\&quot;&quot; &lt;&lt; endl;
        cin.get ();
    }
    else cout &lt;&lt; &quot;Es wurde 'Hallo' eingegeben!&quot; &lt;&lt; endl;

    cin.get();
    return 0;
}
</code></pre>
<p>Edit: Ich hab erst in Zeile 8 string str [30]; geschrieben. Das war allerdings falsch. Hab ich mal berichtigt.</p>
<p>Oder werden in dem Buch an der Stelle C-Strings behandelt?</p>
<p>MfG, Jochen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882980</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882980</guid><dc:creator><![CDATA[Jochen S.]]></dc:creator><pubDate>Wed, 14 Apr 2010 18:46:27 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 18:22:21 GMT]]></title><description><![CDATA[<p>Ich wollte es erst auch mit strings machen aber dann dachte ich, wenn er im Beispiel noch C-Strings gebraucht, dann wollte ich dies auch in meinem tun.</p>
<p>Die String Bibliothek wir in dem Buch erst ganz am Ende behandelt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882984</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882984</guid><dc:creator><![CDATA[Walnut_Burl]]></dc:creator><pubDate>Wed, 14 Apr 2010 18:22:21 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 18:29:58 GMT]]></title><description><![CDATA[<p>Schlechtes Buch. Kauf dir den C++ Primer.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882987</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882987</guid><dc:creator><![CDATA[Janjan]]></dc:creator><pubDate>Wed, 14 Apr 2010 18:29:58 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 18:42:59 GMT]]></title><description><![CDATA[<p>Dass das Buch schlecht ist kann man so pauschal nicht sagen!</p>
<p>Es behandelt alle wichtigen Themen die man benötigt um Programme in C++ zu schreiben.</p>
<p>Klar, es gibt einige Themen die nicht so gut behandelt werden, aber jedes Buch wird seine Schwächen und Vorteile haben. Es gibt kein ultimatives Buch!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882990</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882990</guid><dc:creator><![CDATA[Walnut_Burl]]></dc:creator><pubDate>Wed, 14 Apr 2010 18:42:59 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 18:43:56 GMT]]></title><description><![CDATA[<p>Es <strong>ist</strong> ein schlechtes Buch, wenn die String <strong>Klasse</strong> erst gegen Ende beschrieben wird.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882991</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882991</guid><dc:creator><![CDATA[Janjan]]></dc:creator><pubDate>Wed, 14 Apr 2010 18:43:56 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 18:54:36 GMT]]></title><description><![CDATA[<p>Naja, Das Buch ist auf jeden Fall nicht gut aufgebaut. Wenn das Buch <strong>C++</strong> von A bis Z heißt, dann sollten auch die Klassen der C++ Laufzeitbibliothek verwendet werden. In dem Anfängerbuch, mit dem ich Programmieren gelernt habe, wurden Strings in einem der ersten Kapitel behandelt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882995</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882995</guid><dc:creator><![CDATA[Jochen S.]]></dc:creator><pubDate>Wed, 14 Apr 2010 18:54:36 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 19:09:36 GMT]]></title><description><![CDATA[<blockquote>
<p>Dass das Buch schlecht ist kann man so pauschal nicht sagen!</p>
</blockquote>
<p>Doch, kann man. Auch scheint es sich mit UML, Netzwerkprogrammierung, GUI etc. zu beschaeftigen, was jetzt nicht mehr zwingend C++ ist. Es gibt wenige gute C++ Buecher. Hier im Forum wurden schon einige gute diskutiert. Vielleicht magst du danach suchen.</p>
<p>Auch werden auf Arrays erst ab Seite 152 behandelt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1882997</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1882997</guid><dc:creator><![CDATA[knivil]]></dc:creator><pubDate>Wed, 14 Apr 2010 19:09:36 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 19:05:35 GMT]]></title><description><![CDATA[<p>Walnut_Burl schrieb:</p>
<blockquote>
<p>Dass das Buch schlecht ist kann man so pauschal nicht sagen!</p>
</blockquote>
<p>Ich warne seit längerem vor diesem Buch. Es fällt in diesem Forum immer wieder negativ auf. Ich sage pauschal, daß das Buch schlecht ist und man nach dem Buch schlechter C++ kann als vorher, was sich darin äußert, daß man unverdorben weniger gute Bücher lesen muß, als nach der Lektüre von A-Z, um im Unternehmen einsatzfähig zu sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883001</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883001</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Wed, 14 Apr 2010 19:05:35 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 19:18:52 GMT]]></title><description><![CDATA[<p>Ich selber habe es mir nur als Referenz gekauft (ich benutze auch die Referenz von <a href="http://cpp.com" rel="nofollow">cpp.com</a>) und wenn man mal kurz etwas nachschlagen will ist es nicht schlecht.<br />
Wie es als richtiges Lehrbuch ist, das weiß ich leider nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>C++ habe ich mit dem Klassiker von Bjarne Stroustrup gelernt.<br />
--&gt; <a href="http://www.amazon.de/C-Programming-Language-Special/dp/0201700735/ref=sr_1_1?ie=UTF8&amp;s=books-intl-de&amp;qid=1271272575&amp;sr=1-1" rel="nofollow">http://www.amazon.de/C-Programming-Language-Special/dp/0201700735/ref=sr_1_1?ie=UTF8&amp;s=books-intl-de&amp;qid=1271272575&amp;sr=1-1</a></p>
<p>Dieses Buch kann ich wirklich empfehlen (ich hatte zwar schon Vorkenntnisse durch diverse Tutorials aber es ist ein wirklich gutes Buch).</p>
<p>Also im Endeffekt meint ihr, dass C++ von A bis Z nichts ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883009</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883009</guid><dc:creator><![CDATA[Walnut_Burl]]></dc:creator><pubDate>Wed, 14 Apr 2010 19:18:52 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 19:20:54 GMT]]></title><description><![CDATA[<p>Walnut_Burl schrieb:</p>
<blockquote>
<p>Also im Endeffekt meint ihr, dass C++ von A bis Z nichts ist?</p>
</blockquote>
<p>Sowas gemeines würden wir nie sagen. Da mußt Du schon zwischen den Zeilen die versteckten Andeutungen herauslesen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883011</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883011</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Wed, 14 Apr 2010 19:20:54 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 19:26:28 GMT]]></title><description><![CDATA[<p>volkard schrieb:</p>
<blockquote>
<p>Walnut_Burl schrieb:</p>
<blockquote>
<p>Also im Endeffekt meint ihr, dass C++ von A bis Z nichts ist?</p>
</blockquote>
<p>Sowas gemeines würden wir nie sagen. Da mußt Du schon zwischen den Zeilen die versteckten Andeutungen herauslesen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
</blockquote>
<p><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="😃"
    /></p>
<p>Naja, die Antwort auf die Frage wurde ja schon gegeben (und zusätzlich noch etwas Off-Topic Geblaber <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/1883014</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883014</guid><dc:creator><![CDATA[Walnut_Burl]]></dc:creator><pubDate>Wed, 14 Apr 2010 19:26:28 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 19:30:55 GMT]]></title><description><![CDATA[<p>Walnut_Burl schrieb:</p>
<blockquote>
<p>Also im Endeffekt meint ihr, dass C++ von A bis Z nichts ist?</p>
</blockquote>
<p>Es ist ein brauchbares Lehrbuch für C. Insbesondere da die wenigen Abschnitte die sich mit C++ befassen hervorgehoben sind, so dass man sie beim C-lernen überspringen kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883016</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883016</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Wed, 14 Apr 2010 19:30:55 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 19:40:42 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<p>Es ist ein brauchbares Lehrbuch für C.</p>
</blockquote>
<p>Noch nichtmal. Bei str[sizeof(str)]='\0' wird mir schlecht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883022</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883022</guid><dc:creator><![CDATA[jokester]]></dc:creator><pubDate>Wed, 14 Apr 2010 19:40:42 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Wed, 14 Apr 2010 19:42:36 GMT]]></title><description><![CDATA[<p>jokester schrieb:</p>
<blockquote>
<p>SeppJ schrieb:</p>
<blockquote>
<p>Es ist ein brauchbares Lehrbuch für C.</p>
</blockquote>
<p>Noch nichtmal. Bei str[sizeof(str)]='\0' wird mir schlecht.</p>
</blockquote>
<p>Dann wohl doch nicht. Habe schon lange nicht mehr reingeguckt. Genauer gesagt habe ich es verschenkt an jemanden den ich nicht mochte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883025</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883025</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Wed, 14 Apr 2010 19:42:36 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Thu, 15 Apr 2010 15:05:00 GMT]]></title><description><![CDATA[<p>Welches Buch dann am besten im Internet kostenlos per Rapidshare oder irgenden gutes onlinetutorial</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883419</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883419</guid><dc:creator><![CDATA[MatzeXxXx]]></dc:creator><pubDate>Thu, 15 Apr 2010 15:05:00 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Thu, 15 Apr 2010 15:06:53 GMT]]></title><description><![CDATA[<p>Rapidshare ist illegal!<br />
Wenn du da was runterlädst machst du dich strafbar.</p>
<p>Ein gutes Buch ist, wie Janjan schon sagte, der C++ Primer in der neuesten Edition oder auch das Buch vom Erfinder Bjarne Stroustrup.</p>
<p>Als Online Tutorial kann ich folgendes empfehlen:<br />
<a href="http://cplusplus.com/tutorial/" rel="nofollow">http://cplusplus.com/tutorial/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883421</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883421</guid><dc:creator><![CDATA[Walnut_Burl]]></dc:creator><pubDate>Thu, 15 Apr 2010 15:06:53 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Thu, 15 Apr 2010 15:10:41 GMT]]></title><description><![CDATA[<p><a href="http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html" rel="nofollow">http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883426</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883426</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Thu, 15 Apr 2010 15:10:41 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Thu, 15 Apr 2010 15:13:46 GMT]]></title><description><![CDATA[<p>Mein English ich bin in der 7.ten Klasse das reicht nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /><br />
irgendwas deutsches. Ist rapidshare 100% illegal?</p>
<p>Mein bestes Programm bisher (ich lern wirklich noch nicht lange)</p>
<p>[cpp]#include &lt;iostream&gt;<br />
#include &lt;cstdlib&gt;<br />
using namespace std;</p>
<p>int main ()<br />
{<br />
long double Geld;</p>
<p>int Art;<br />
int var123=34;<br />
while (var123==34)<br />
{</p>
<p>cout&lt;&lt;&quot;\n&quot;&lt;&lt;&quot;Geben sie bitte an,ob sie Euros oder Kronen besitzen.Euros =1 Kronen=2&quot;&lt;&lt;&quot;\n&quot;&lt;&lt;&quot;Das wird in die andere Währung umgerechnet.&quot;&lt;&lt;&quot;\n&quot;;<br />
cin&gt;&gt;Art;<br />
if (Art != 1 &amp;&amp; Art != 2){<br />
cerr&lt;&lt;&quot;Falsche Eingabe.Programm wird beendet&quot;&lt;&lt;&quot;\n&quot;;<br />
exit(1);<br />
}<br />
else if(Art==2){<br />
cout&lt;&lt;&quot;Geben sie an,wie viele Kronen sie besitzen. Wichtig:Geben sie es wie\n folgt an:21.45&quot;&lt;&lt;&quot;\n&quot;;<br />
cin&gt;&gt;Geld;<br />
Geld/=9.62;<br />
cout&lt;&lt;&quot;So viele Euro besitzen sie bei einem Wechselkurs von 1 Euro=9.62 Kronen:&quot;&lt;&lt;Geld;<br />
}<br />
else if(Art==1){<br />
cout&lt;&lt;&quot;Geben sie an,wie viele Euro sie besitzen. Wichtig:Geben sie es wie folgt an:21.45&quot;&lt;&lt;&quot;\n&quot;;<br />
cin&gt;&gt;Geld;<br />
Geld*=9.62;<br />
cout&lt;&lt;&quot;So viele Kronen besitzen sie bei einem Wechselkurs von 1 Euro=9.62 Kronen:&quot;&lt;&lt;Geld&lt;&lt;&quot;\n&quot;;<br />
}</p>
<p>}<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883430</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883430</guid><dc:creator><![CDATA[MatzeXxXx]]></dc:creator><pubDate>Thu, 15 Apr 2010 15:13:46 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Thu, 15 Apr 2010 15:22:25 GMT]]></title><description><![CDATA[<p>MatzeXxXx schrieb:</p>
<blockquote>
<p>irgendwas deutsches. Ist rapidshare 100% illegal?</p>
</blockquote>
<p>Ob rapidshare illegal ist kann ich nicht sagen, wohl aber Downloads von Werken, die urheberrechtlich geschützt sind. Was in diesen Fall wohl der überwiegende Teil, wenn nicht sogar 100% sein sollte.</p>
<p>Zu der Qualität der Tutorials kann ich nichts sagen, ich würde aber dennoch erst einmal <a href="http://www.c-plusplus.net/cms/modules.php?op=modload&amp;name=Downloads&amp;file=index&amp;req=viewsdownload&amp;sid=2" rel="nofollow">hier</a> schauen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883436</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883436</guid><dc:creator><![CDATA[asc]]></dc:creator><pubDate>Thu, 15 Apr 2010 15:22:25 GMT</pubDate></item><item><title><![CDATA[Reply to Komisches Problem on Thu, 15 Apr 2010 16:04:48 GMT]]></title><description><![CDATA[<p>Rapidshare ist 100%tig legal und eigentlich (und offiziell) dafür gedacht Dateien<br />
zu versenden, wenn du zum Beispiel ein 150mb Programm programmiert hast<br />
und das deinen Freunden zugänglich machen willst, ohne es über ICQ oder so zu versenden.<br />
Das Problem ist nur das Rapidshare von Raubkopieren missbraucht wird um halt<br />
Raubkopien zu versenden.<br />
Das bedeutet dass du dir Dateien von Rapidshare downloaden kannst solange sie<br />
nicht gegen irgentein Urheberrecht verstoßen.<br />
Wenn Rapidshare illegal wäre wäre es längst offline.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1883463</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1883463</guid><dc:creator><![CDATA[Neophyte]]></dc:creator><pubDate>Thu, 15 Apr 2010 16:04:48 GMT</pubDate></item></channel></rss>