<?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[Fehler bei if-schleife]]></title><description><![CDATA[<pre><code class="language-cpp">if (yesNo2 == yes);
//etwas code
                     if (yesNo == yes);
                         {
                                  void readdata (char* datapath);
                                  {
//etwas code
                                   }
                          }
                     else; //hier kommt der fehler
                          {         
                                   void writedata (char* datapath);
                                   {
//etwas code

                                        }
                          }
                     else; //und hier kommt der Fehler:
                           //expected primary-exprossion before &quot;else&quot;
                              {
                                   break;
                              }
</code></pre>
<p>Hoffe ihr könnt mir helfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/246069/fehler-bei-if-schleife</link><generator>RSS for Node</generator><lastBuildDate>Fri, 18 Sep 2026 09:32:15 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/246069.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Jul 2009 15:57:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fehler bei if-schleife on Wed, 22 Jul 2009 15:57:18 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">if (yesNo2 == yes);
//etwas code
                     if (yesNo == yes);
                         {
                                  void readdata (char* datapath);
                                  {
//etwas code
                                   }
                          }
                     else; //hier kommt der fehler
                          {         
                                   void writedata (char* datapath);
                                   {
//etwas code

                                        }
                          }
                     else; //und hier kommt der Fehler:
                           //expected primary-exprossion before &quot;else&quot;
                              {
                                   break;
                              }
</code></pre>
<p>Hoffe ihr könnt mir helfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1747744</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1747744</guid><dc:creator><![CDATA[eliasdfg*der Anfänger*]]></dc:creator><pubDate>Wed, 22 Jul 2009 15:57:18 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei if-schleife on Wed, 22 Jul 2009 15:59:33 GMT]]></title><description><![CDATA[<p>Mach die Semikolons hinter den Klammern, die hinter dem if kommen und hinter dem else weg. Auf ein if, oder ein else folgt ein Block (der im Zweifel auch nur aus einer Anweisung bestehen kann) und dieser Block (diese eine Anweisung) besteht bei dir aus dem Semikolon.</p>
<p>Außerdem scheintst du in einer Funktion funktionen zu definieren, was nicht geht.</p>
<p>Felix</p>
<p>BTW: if-BEDINGUNG/ANWEISUNG, nicht Schleife.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1747747</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1747747</guid><dc:creator><![CDATA[Phoemuex]]></dc:creator><pubDate>Wed, 22 Jul 2009 15:59:33 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei if-schleife on Wed, 22 Jul 2009 15:59:27 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">if (yesNo2 == yes);&lt;-- semikolon zu viel
//etwas code
                     if (yesNo == yes);&lt;-- semikolon zu viel

                         {
                                  void readdata (char* datapath);&lt;-- gehört hier nicht hin
                                  {
//etwas code
                                   }
                          }
                     else;&lt;-- semikolon zu viel
                          {         
                                   void writedata (char* datapath);&lt;-- gehört hier nicht hin
                                   {
//etwas code

                                        }
                          }
                     else;&lt;-- semikolon zu viel
                              {
                                   break;
                              }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1747748</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1747748</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Wed, 22 Jul 2009 15:59:27 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei if-schleife on Wed, 22 Jul 2009 16:22:20 GMT]]></title><description><![CDATA[<p>Bei so vielen Fehlern (Funktionsdeklarationen mitten im Code, Semikolons an falscher Stelle usw.) solltest du dich nochmal in aller Ruhe auf das Buch/Tutorial deiner Wahl stürzen und dir die Basics durcharbeiten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1747763</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1747763</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Wed, 22 Jul 2009 16:22:20 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei if-schleife on Wed, 22 Jul 2009 18:02:32 GMT]]></title><description><![CDATA[<p>[flame]<br />
Oo. Darf ich?<br />
<a href="http://www.if-schleife.de/" rel="nofollow">http://www.if-schleife.de/</a><br />
[/flame]</p>
<p>*SCNR* <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1747813</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1747813</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Wed, 22 Jul 2009 18:02:32 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei if-schleife on Wed, 22 Jul 2009 18:35:00 GMT]]></title><description><![CDATA[<p>Warum hat eigentlich noch keiner was wegen der Einrückung gesagt? Die ist einfach grauenhaft! Daran musst du ebenso arbeiten, wie an den bereits genannten Fehlern.</p>
<p><a href="http://de.wikipedia.org/wiki/Einr%C3%BCckungsstil" rel="nofollow">http://de.wikipedia.org/wiki/Einrückungsstil</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1747819</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1747819</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Wed, 22 Jul 2009 18:35:00 GMT</pubDate></item></channel></rss>