<?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[error C2065: &#x27;Wahl&#x27;: nichtdeklarierter Bezeichner]]></title><description><![CDATA[<p>Hey hab nen problem ..irgendwie seh ich den fehler nicht bzw weiß nicht wie ich ihn beheben kann</p>
<p>#include &lt;iostream&gt;<br />
using namespace std;</p>
<p>int main ()<br />
{<br />
cout&lt;&lt;&quot;Dies ist ein kleiner Taschenrechner\n\n&quot;;<br />
do<br />
{<br />
Schleife1:</p>
<p>float zeichen;<br />
cout &lt;&lt; &quot; &quot; &lt;&lt; endl;<br />
cout &lt;&lt; &quot;W\204hlen Sie eine Rechenart aus:\n &quot;;<br />
cout &lt;&lt; &quot;1 -&gt; f\201r Addition, 2 -&gt; f\201r Subtraktion, &quot;;<br />
cout &lt;&lt; &quot;3 -&gt; f\201r Multiplikation,\n 4 -&gt; f\201r Division: &quot;;<br />
cin &gt;&gt; zeichen;<br />
if ((zeichen &gt;= 1) &amp;&amp; (zeichen &lt;=4))<br />
{<br />
cout &lt;&lt; &quot; &quot; &lt;&lt; endl;</p>
<p>float eins;<br />
cout &lt;&lt; &quot;Geben Sie die erste Zahl ein: &quot;;<br />
cin &gt;&gt; eins;<br />
cout &lt;&lt; &quot; &quot; &lt;&lt; endl;</p>
<p>float zwei;<br />
cout &lt;&lt; &quot;Geben Sie die zweite Zahl ein: &quot;;<br />
cin &gt;&gt; zwei;<br />
cout &lt;&lt; &quot; \n&quot; &lt;&lt; endl;</p>
<p>cout&lt;&lt;&quot;L\224sung:\n\n&quot;;<br />
float ergebnis;</p>
<p>if (zeichen==1)<br />
{<br />
ergebnis = eins+zwei;<br />
cout &lt;&lt; eins &lt;&lt; &quot; + &quot; &lt;&lt; zwei &lt;&lt; &quot; = &quot; &lt;&lt; ergebnis &lt;&lt; endl;<br />
}<br />
if (zeichen==2)<br />
{<br />
ergebnis = eins-zwei; cout &lt;&lt; eins &lt;&lt; &quot; - &quot; &lt;&lt; zwei &lt;&lt; &quot; = &quot; &lt;&lt; ergebnis &lt;&lt; endl;<br />
}<br />
if (zeichen==3)<br />
{<br />
ergebnis = eins*zwei; cout &lt;&lt; eins &lt;&lt; &quot; * &quot; &lt;&lt; zwei &lt;&lt; &quot; = &quot; &lt;&lt; ergebnis &lt;&lt; endl;<br />
}<br />
if (zeichen==4)<br />
{<br />
ergebnis = eins/zwei; cout &lt;&lt; eins &lt;&lt; &quot; / &quot; &lt;&lt; zwei &lt;&lt; &quot; = &quot; &lt;&lt; ergebnis &lt;&lt; endl;<br />
}<br />
else goto Schleife1;<br />
}<br />
char Wahl;<br />
cout&lt;&lt;&quot;Möchten Sie eine weitere Aufgabe berechnen? &lt;j/n&gt;? : &quot;;<br />
cin&gt;&gt;Wahl;<br />
cout&lt;&lt;endl&lt;&lt;endl;<br />
}<br />
while(Wahl=='j' || Wahl=='J');</p>
<p>system (&quot;pause&quot;);<br />
}</p>
<p>er gibt mir an das Wahl nicht deklariert ist<br />
wie bekomm ich das denn hin<br />
würde mich über hilfe freuen</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/222283/error-c2065-wahl-nichtdeklarierter-bezeichner</link><generator>RSS for Node</generator><lastBuildDate>Mon, 05 Oct 2026 04:09:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/222283.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Sep 2008 09:43:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to error C2065: &#x27;Wahl&#x27;: nichtdeklarierter Bezeichner on Wed, 10 Sep 2008 09:43:56 GMT]]></title><description><![CDATA[<p>Hey hab nen problem ..irgendwie seh ich den fehler nicht bzw weiß nicht wie ich ihn beheben kann</p>
<p>#include &lt;iostream&gt;<br />
using namespace std;</p>
<p>int main ()<br />
{<br />
cout&lt;&lt;&quot;Dies ist ein kleiner Taschenrechner\n\n&quot;;<br />
do<br />
{<br />
Schleife1:</p>
<p>float zeichen;<br />
cout &lt;&lt; &quot; &quot; &lt;&lt; endl;<br />
cout &lt;&lt; &quot;W\204hlen Sie eine Rechenart aus:\n &quot;;<br />
cout &lt;&lt; &quot;1 -&gt; f\201r Addition, 2 -&gt; f\201r Subtraktion, &quot;;<br />
cout &lt;&lt; &quot;3 -&gt; f\201r Multiplikation,\n 4 -&gt; f\201r Division: &quot;;<br />
cin &gt;&gt; zeichen;<br />
if ((zeichen &gt;= 1) &amp;&amp; (zeichen &lt;=4))<br />
{<br />
cout &lt;&lt; &quot; &quot; &lt;&lt; endl;</p>
<p>float eins;<br />
cout &lt;&lt; &quot;Geben Sie die erste Zahl ein: &quot;;<br />
cin &gt;&gt; eins;<br />
cout &lt;&lt; &quot; &quot; &lt;&lt; endl;</p>
<p>float zwei;<br />
cout &lt;&lt; &quot;Geben Sie die zweite Zahl ein: &quot;;<br />
cin &gt;&gt; zwei;<br />
cout &lt;&lt; &quot; \n&quot; &lt;&lt; endl;</p>
<p>cout&lt;&lt;&quot;L\224sung:\n\n&quot;;<br />
float ergebnis;</p>
<p>if (zeichen==1)<br />
{<br />
ergebnis = eins+zwei;<br />
cout &lt;&lt; eins &lt;&lt; &quot; + &quot; &lt;&lt; zwei &lt;&lt; &quot; = &quot; &lt;&lt; ergebnis &lt;&lt; endl;<br />
}<br />
if (zeichen==2)<br />
{<br />
ergebnis = eins-zwei; cout &lt;&lt; eins &lt;&lt; &quot; - &quot; &lt;&lt; zwei &lt;&lt; &quot; = &quot; &lt;&lt; ergebnis &lt;&lt; endl;<br />
}<br />
if (zeichen==3)<br />
{<br />
ergebnis = eins*zwei; cout &lt;&lt; eins &lt;&lt; &quot; * &quot; &lt;&lt; zwei &lt;&lt; &quot; = &quot; &lt;&lt; ergebnis &lt;&lt; endl;<br />
}<br />
if (zeichen==4)<br />
{<br />
ergebnis = eins/zwei; cout &lt;&lt; eins &lt;&lt; &quot; / &quot; &lt;&lt; zwei &lt;&lt; &quot; = &quot; &lt;&lt; ergebnis &lt;&lt; endl;<br />
}<br />
else goto Schleife1;<br />
}<br />
char Wahl;<br />
cout&lt;&lt;&quot;Möchten Sie eine weitere Aufgabe berechnen? &lt;j/n&gt;? : &quot;;<br />
cin&gt;&gt;Wahl;<br />
cout&lt;&lt;endl&lt;&lt;endl;<br />
}<br />
while(Wahl=='j' || Wahl=='J');</p>
<p>system (&quot;pause&quot;);<br />
}</p>
<p>er gibt mir an das Wahl nicht deklariert ist<br />
wie bekomm ich das denn hin<br />
würde mich über hilfe freuen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1579624</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1579624</guid><dc:creator><![CDATA[Lydia]]></dc:creator><pubDate>Wed, 10 Sep 2008 09:43:56 GMT</pubDate></item><item><title><![CDATA[Reply to error C2065: &#x27;Wahl&#x27;: nichtdeklarierter Bezeichner on Wed, 10 Sep 2008 09:46:43 GMT]]></title><description><![CDATA[<p>Hier ist noch die aufgabenstellung !!</p>
<p>Eingabe:<br />
1. Zahl: 2<br />
2. Zahl: 3<br />
Rechenart (1 fuer Addieren, 2 fuer<br />
Subtrahieren, 3 fuer Multiplizieren<br />
und 4 fuer Dividieren): 2</p>
<p>Ergebnis: 2 / 3 ist gleich 0.66<br />
----------------------------------<br />
Moechten Sie eine weitere Aufgabe<br />
berechnen? (j/n):</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1579625</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1579625</guid><dc:creator><![CDATA[Lydia]]></dc:creator><pubDate>Wed, 10 Sep 2008 09:46:43 GMT</pubDate></item><item><title><![CDATA[Reply to error C2065: &#x27;Wahl&#x27;: nichtdeklarierter Bezeichner on Wed, 10 Sep 2008 09:48:08 GMT]]></title><description><![CDATA[<p>deklarier Wahl mal außerhalb der while schleife</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1579627</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1579627</guid><dc:creator><![CDATA[Sovok]]></dc:creator><pubDate>Wed, 10 Sep 2008 09:48:08 GMT</pubDate></item><item><title><![CDATA[Reply to error C2065: &#x27;Wahl&#x27;: nichtdeklarierter Bezeichner on Wed, 10 Sep 2008 09:47:35 GMT]]></title><description><![CDATA[<p>Deklariere &quot;Wahl&quot; vor der Do-While Schleife.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1579628</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1579628</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Wed, 10 Sep 2008 09:47:35 GMT</pubDate></item><item><title><![CDATA[Reply to error C2065: &#x27;Wahl&#x27;: nichtdeklarierter Bezeichner on Wed, 10 Sep 2008 09:48:56 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>siehe <a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-1579626.html#1579626" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-p-is-1579626.html#1579626</a></p>
<p>MfG,</p>
<p>Probe-Nutzer</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1579633</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1579633</guid><dc:creator><![CDATA[Probe-Nutzer]]></dc:creator><pubDate>Wed, 10 Sep 2008 09:48:56 GMT</pubDate></item><item><title><![CDATA[Reply to error C2065: &#x27;Wahl&#x27;: nichtdeklarierter Bezeichner on Wed, 10 Sep 2008 09:50:38 GMT]]></title><description><![CDATA[<p>danke schön ich stand echt aufem Schlauch xD</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1579637</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1579637</guid><dc:creator><![CDATA[Lydia]]></dc:creator><pubDate>Wed, 10 Sep 2008 09:50:38 GMT</pubDate></item></channel></rss>