<?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[Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine]]></title><description><![CDATA[<p>hi, mein problem ist folgendes. ich habe eine class erstellt system( alles in einer .h datei), und wenn ich nun ein objekt erstellen moechte, system Objekt: bekomm ich halt immer als Fehlermeldung die folgende :</p>
<p>&quot;[C++ Error] Koordinaten_Pkt.cpp(67): E2379 Statement missing ; &quot;</p>
<p>was läuft hier schief?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/163534/bekomme-immer-den-fehler-quot-c-error-koordinaten_pkt-cpp-186-e2379-statement-missing-quot-beim-erstellen-eine</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 02:56:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/163534.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Oct 2006 16:11:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 16:11:55 GMT]]></title><description><![CDATA[<p>hi, mein problem ist folgendes. ich habe eine class erstellt system( alles in einer .h datei), und wenn ich nun ein objekt erstellen moechte, system Objekt: bekomm ich halt immer als Fehlermeldung die folgende :</p>
<p>&quot;[C++ Error] Koordinaten_Pkt.cpp(67): E2379 Statement missing ; &quot;</p>
<p>was läuft hier schief?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164665</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164665</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Mon, 30 Oct 2006 16:11:55 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 16:14:00 GMT]]></title><description><![CDATA[<p>Die Beschreibung ist sehr mager.</p>
<p>Es fehlt halt ein ;</p>
<p>Prüfe ob die abschliessende Klammer der Klasse ein ; hat</p>
<pre><code class="language-cpp">class test
{

}; // &lt;----------
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1164668</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164668</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Mon, 30 Oct 2006 16:14:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 16:14:16 GMT]]></title><description><![CDATA[<p>vielleicht semikolon hinter</p>
<p>system Object</p>
<p>vergessen? (hier fehtl jetzt auch ein semikolon.)</p>
<p>Ansonsten musts du uns schon den Code zeigen, wenigstens die Umgebung von wo der fehler auftritt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164670</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164670</guid><dc:creator><![CDATA[Maxi]]></dc:creator><pubDate>Mon, 30 Oct 2006 16:14:16 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 16:14:16 GMT]]></title><description><![CDATA[<p>Ohne code kann man dir IMHO nicht helfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164669</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164669</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Mon, 30 Oct 2006 16:14:16 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 16:46:00 GMT]]></title><description><![CDATA[<p>haha sehr lustig, nein ich habe kein simikolon vergessen.</p>
<p>die class</p>
<pre><code class="language-cpp">#ifndef coor_h
#define coor_h

class system {

    public:

        system();
        ~system();

        void Sphere( float &amp;x, float &amp;y, float &amp;z );
        void Room( float w, float h, float d );
        void Kollision();

    private:

        float _width;
        float _height;
        float _depth;

        float _posX;
        float _posY;
        float _posZ;

        bool _crashX;
        bool _crashY;
        bool _crashZ;

        GLUquadricObj *p;
};

    system::system() {

        this-&gt;_width = 0;
        this-&gt;_height = 0;
        this-&gt;_depth = 0;
        this-&gt;_posX = 0;
        this-&gt;_posY = 0;
        this-&gt;_posZ = 0;
        this-&gt;_crashX = 0;
        this-&gt;_crashY = 0;
        this-&gt;_crashZ = 0;

        gluQuadricNormals( p, GL_SMOOTH );
        gluQuadricDrawStyle( p, GL_FILL );

    }

    system::~system() {

        this-&gt;_width = 0;
        this-&gt;_height = 0;
        this-&gt;_depth = 0;
        this-&gt;_posX = 0;
        this-&gt;_posY = 0;
        this-&gt;_posZ = 0;
        this-&gt;_crashX = 0;
        this-&gt;_crashY = 0;
        this-&gt;_crashZ = 0;
    }

    void system::Room( float x, float y, float z ) {

        system::_width = x;
        system::_height = y;
        system::_depth = z;

        glTranslatef(  0.0f,  0.0f, -10.0f );
        glColor3ub( 255, 255, 255 );

        glBegin( GL_LINES );

            // bottom
            glVertex3f( -x, -y, -z );
            glVertex3f(  x, -y, -z );
            glVertex3f(  x, -y, -z );
            glVertex3f(  x, -y,  z );
            glVertex3f(  x, -y,  z );
            glVertex3f( -x, -y,  z );
            glVertex3f( -x, -y,  z );
            glVertex3f( -x, -y, -z );

            // top
            glVertex3f( -x,  y, -z );
            glVertex3f(  x,  y, -z );
            glVertex3f(  x,  y, -z );
            glVertex3f(  x,  y,  z );
            glVertex3f(  x,  y,  z );
            glVertex3f( -x,  y,  z );
            glVertex3f( -x,  y,  z );
            glVertex3f( -x,  y, -z );

            // back
            glVertex3f( -x, -y, -z );
            glVertex3f(  x, -y, -z );
            glVertex3f(  x, -y, -z );
            glVertex3f(  x,  y, -z );
            glVertex3f(  x,  y, -z );
            glVertex3f( -x,  y, -z );
            glVertex3f( -x,  y, -z );
            glVertex3f( -x, -y, -z );

            // face
            glVertex3f( -x, -y,  z );
            glVertex3f(  x, -y,  z );
            glVertex3f(  x, -y,  z );
            glVertex3f(  x,  y,  z );
            glVertex3f(  x,  y,  z );
            glVertex3f( -x,  y,  z );
            glVertex3f( -x,  y,  z );
            glVertex3f( -x, -y,  z );

            // left
            glVertex3f(  x, -y, -z );
            glVertex3f(  x, -y,  z );
            glVertex3f(  x, -y,  z );
            glVertex3f(  x,  y,  z );
            glVertex3f(  x,  y,  z );
            glVertex3f(  x,  y, -z );
            glVertex3f(  x,  y, -z );
            glVertex3f(  x, -y, -z );

            // right
            glVertex3f( -x, -y, -z );
            glVertex3f( -x, -y,  z );
            glVertex3f( -x, -y,  z );
            glVertex3f( -x,  y,  z );
            glVertex3f( -x,  y,  z );
            glVertex3f( -x,  y, -z );
            glVertex3f( -x,  y, -z );
            glVertex3f( -x, -y, -z );
    }

    void system::Sphere( float &amp;x, float &amp;y, float &amp;z ) {

        system::_posX = x;
        system::_posY = y;
        system::_posZ = z;

        glTranslatef( system::_posX, system::_posY, system::_posZ );

        gluSphere( p, 0.05f, 40.0f, 40.0f );
        glColor3ub( 255, 255, 255 );

        glLoadIdentity();
    }

#endif
</code></pre>
<p>und in der in einer funktion Draw() - die dann in die main() kommt-:</p>
<pre><code class="language-cpp">system cube;
       .....
</code></pre>
<p>und dann kommt halt immer der fehler</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164702</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164702</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Mon, 30 Oct 2006 16:46:00 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 16:49:25 GMT]]></title><description><![CDATA[<p>Doch Du hast wohl ein ; vergessen sonst würde der Compiler dieses nicht bemängeln.</p>
<p>Schau Dir mal die Zeilen über dem Erstellen des Objektes system an, vllt. fehlt es dort.</p>
<p>Und bevor Du eingeschnappt reagierst: Der Compiler hat immer recht <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/1164707</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164707</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Mon, 30 Oct 2006 16:49:25 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 16:54:09 GMT]]></title><description><![CDATA[<p>hääääää?????? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /> aba dort fehlt doch gar kein ;, oder bin ich blind???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164709</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164709</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Mon, 30 Oct 2006 16:54:09 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 16:56:11 GMT]]></title><description><![CDATA[<p>Ein Fehlendes ; ist so ziemlich das ekelhafteste was als Compilermeldung kommen kann. IMHO ist im geposteten Code kein Fehler also fehlt es irgendwo anderst. Ich würde anfangen die Umgebung rund um den Fehler zu untersuchen und wenn ich da nichts finde, die Units einzeln übersetzen um den Fehler einzukreisen.</p>
<p>Wenn Du pech hast, glaubt der Compiler nur das eines fehlt aber es klemmt wo anderst. Das wird nun sucharbeit.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164712</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164712</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Mon, 30 Oct 2006 16:56:11 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 16:56:18 GMT]]></title><description><![CDATA[<p>Naja, wir können es hier leider nicht sehen ... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>Aber deine Header, in der du die Klasse implementierst (warum auch immer), heißt ja sicher irgendwie ***.h(pp).</p>
<p>Dein Compiler meckert aber hier -&gt; Koordinaten_Pkt.cpp(67)</p>
<p>Vielleicht solltest du da mal anfangen zu suchen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164713</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164713</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Mon, 30 Oct 2006 16:56:18 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 17:02:07 GMT]]></title><description><![CDATA[<p>also der fehler kommt nur wenn ich versuche mit system ein objekt zu erstellen ansonsten läufts... und ich habe auch den header wie immer eingebunden<br />
#include &quot;coor.h&quot;, hmm ich sag der compiler spinnt xD... aber es aegert mich tierisch</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164721</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164721</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Mon, 30 Oct 2006 17:02:07 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 17:04:29 GMT]]></title><description><![CDATA[<p>Gib cder Klasse mal nen anderen Namen (system =&gt; Reserviertes C++ Wort)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164725</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164725</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Mon, 30 Oct 2006 17:04:29 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 17:06:15 GMT]]></title><description><![CDATA[<p>Seit wann denn das? Es gibt ne Funktion system, aber ein reserviertes Schlüsselwort ist das nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164727</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164727</guid><dc:creator><![CDATA[Z2]]></dc:creator><pubDate>Mon, 30 Oct 2006 17:06:15 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 17:19:11 GMT]]></title><description><![CDATA[<p>alles klar, danke... jetzt funktionierts... hatte ich net dran gedachrt des der deswegen meckern konnte aber nun funktionierts hehe.</p>
<p>MERKE: benutzt niiiieeeeee....mals nie den namen system fuer eine class oder struc.</p>
<p>hehe</p>
<p>PS.: eine frage noch. was hat es mit diesem error auf sich?</p>
<pre><code>[C++ Warning] coor.h(32): W8058 Cannot create pre-compiled header: code in header
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1164737</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164737</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Mon, 30 Oct 2006 17:19:11 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Mon, 30 Oct 2006 18:30:16 GMT]]></title><description><![CDATA[<p>hast nen feature zum header precompilen aktiviert. das kompiliert header vor, damit sie bei späteren kompiliervorgängen nicht nochmal komplett kompiliert werden müssen. geht aber nicht, wenn da implementierungen drin stehen, wie es bei deinem header der fall ist.</p>
<p>also entweder klassen definition und implementierung trennen oder ignorieren <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/1164796</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164796</guid><dc:creator><![CDATA[thordk]]></dc:creator><pubDate>Mon, 30 Oct 2006 18:30:16 GMT</pubDate></item><item><title><![CDATA[Reply to Bekomme immer den Fehler &amp;quot;[C++ Error] Koordinaten_Pkt.cpp(186): E2379 Statement missing ;&amp;quot;,beim erstellen eine on Tue, 31 Oct 2006 09:56:48 GMT]]></title><description><![CDATA[<p>thordk schrieb:</p>
<blockquote>
<p>...also entweder klassen definition und implementierung trennen oder ignorieren <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>
</blockquote>
<p>... oder (für mich die beste Alternative): &quot;precompiled headers&quot; abschalten !<br />
Das kann man immer noch aktivieren, wenn's relevant wird.</p>
<p>Gruß,</p>
<p>Simon2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1165157</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1165157</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Tue, 31 Oct 2006 09:56:48 GMT</pubDate></item></channel></rss>