<?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 classen-definition?]]></title><description><![CDATA[<p>moinsn,</p>
<p>mag mir mal jemand helfen und sagen wo hier der fehler steckt.<br />
wenn ich versuche die methode zu benutzen schreibt er immer das ein fehler im code ist. compilieren tut er das ganze aber fehlerfrei</p>
<pre><code class="language-cpp">class TBox
{
        private:
                int id;
        public:
                void CreateBox(int);
};

void TBox::CreateBox(int Anz)
{

        TPanel *PanelX;
        int pos; pos=20;

        for(int c=0;c&lt;Anz;c++){
        PanelX = new TPanel(this);
        PanelX-&gt;Name=&quot;x&quot;+IntToStr(id);
        PanelX-&gt;Caption=IntToStr(id);
        PanelX-&gt;Left=pos*id;
        PanelX-&gt;Top=100;
        PanelX-&gt;Width=20;
        PanelX-&gt;Height=20;
        PanelX-&gt;Parent=Form1;
        PanelX-&gt;Color=clRed;
        }
}
</code></pre>
<p>thx for help.</p>
<p>tschau</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/77910/fehler-bei-classen-definition</link><generator>RSS for Node</generator><lastBuildDate>Mon, 29 Jun 2026 09:25:31 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/77910.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 25 Jun 2004 15:57:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to fehler bei classen-definition? on Fri, 25 Jun 2004 15:57:52 GMT]]></title><description><![CDATA[<p>moinsn,</p>
<p>mag mir mal jemand helfen und sagen wo hier der fehler steckt.<br />
wenn ich versuche die methode zu benutzen schreibt er immer das ein fehler im code ist. compilieren tut er das ganze aber fehlerfrei</p>
<pre><code class="language-cpp">class TBox
{
        private:
                int id;
        public:
                void CreateBox(int);
};

void TBox::CreateBox(int Anz)
{

        TPanel *PanelX;
        int pos; pos=20;

        for(int c=0;c&lt;Anz;c++){
        PanelX = new TPanel(this);
        PanelX-&gt;Name=&quot;x&quot;+IntToStr(id);
        PanelX-&gt;Caption=IntToStr(id);
        PanelX-&gt;Left=pos*id;
        PanelX-&gt;Top=100;
        PanelX-&gt;Width=20;
        PanelX-&gt;Height=20;
        PanelX-&gt;Parent=Form1;
        PanelX-&gt;Color=clRed;
        }
}
</code></pre>
<p>thx for help.</p>
<p>tschau</p>
]]></description><link>https://www.c-plusplus.net/forum/post/548020</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/548020</guid><dc:creator><![CDATA[weichensteve]]></dc:creator><pubDate>Fri, 25 Jun 2004 15:57:52 GMT</pubDate></item><item><title><![CDATA[Reply to fehler bei classen-definition? on Fri, 25 Jun 2004 16:52:02 GMT]]></title><description><![CDATA[<p>Den kompletten Wortlaut der Fehlermeldung bitte!<br />
Nicht ohne Grund beinhalten solche Meldungen in der Regel mehr als nur &quot;es ist ein Fehler aufgetreten&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/548044</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/548044</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Fri, 25 Jun 2004 16:52:02 GMT</pubDate></item></channel></rss>