<?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[Zeiger auf Eignene Klasse  (Expertenfrage !!!)]]></title><description><![CDATA[<p>Moin ich habe da ein kleines Problem</p>
<pre><code>#ifndef SEEBLICK_H
#define SEEBLICK_H
#include &quot;Stellplatzausstattung.h&quot;

class Seeblick    : public Stellplatzausstattung{

public:
	Seeblick(Stellplatz* platz);
};

Seeblick::Seeblick(Stellplatz* platz){
	Stellplatzausstattung::setplatz(platz);
	Stellplatzausstattung::setausstattung(&quot;Seeblick&quot;);
	Stellplatzausstattung::setpreis(10.0);

}
</code></pre>
<p>Soweit funktioniert auch alles <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":-)"
      alt="🙂"
    /></p>
<p>Wenn ich aber jetzt<br />
<strong>platz-&gt;preis() // Klasse ist public in Stellplatz</strong><br />
bekomme ich folgende fehlermeldung ???</p>
<blockquote>
<p>error C2027: Verwendung des undefinierten Typs &quot;Stellplatz&quot;<br />
error C2227: Links von &quot;-&gt;getpreis&quot; muss sich ein Zeiger auf Klassen-/Struktur-/Union-/generischen Typ befinden.</p>
</blockquote>
<p>Wer kann mir weiterhelfen ??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/171998/zeiger-auf-eignene-klasse-expertenfrage</link><generator>RSS for Node</generator><lastBuildDate>Thu, 17 Sep 2026 16:07:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/171998.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 Jan 2007 13:41:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zeiger auf Eignene Klasse  (Expertenfrage !!!) on Wed, 31 Jan 2007 13:41:23 GMT]]></title><description><![CDATA[<p>Moin ich habe da ein kleines Problem</p>
<pre><code>#ifndef SEEBLICK_H
#define SEEBLICK_H
#include &quot;Stellplatzausstattung.h&quot;

class Seeblick    : public Stellplatzausstattung{

public:
	Seeblick(Stellplatz* platz);
};

Seeblick::Seeblick(Stellplatz* platz){
	Stellplatzausstattung::setplatz(platz);
	Stellplatzausstattung::setausstattung(&quot;Seeblick&quot;);
	Stellplatzausstattung::setpreis(10.0);

}
</code></pre>
<p>Soweit funktioniert auch alles <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":-)"
      alt="🙂"
    /></p>
<p>Wenn ich aber jetzt<br />
<strong>platz-&gt;preis() // Klasse ist public in Stellplatz</strong><br />
bekomme ich folgende fehlermeldung ???</p>
<blockquote>
<p>error C2027: Verwendung des undefinierten Typs &quot;Stellplatz&quot;<br />
error C2227: Links von &quot;-&gt;getpreis&quot; muss sich ein Zeiger auf Klassen-/Struktur-/Union-/generischen Typ befinden.</p>
</blockquote>
<p>Wer kann mir weiterhelfen ??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220492</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220492</guid><dc:creator><![CDATA[Erick73]]></dc:creator><pubDate>Wed, 31 Jan 2007 13:41:23 GMT</pubDate></item><item><title><![CDATA[Reply to Zeiger auf Eignene Klasse  (Expertenfrage !!!) on Wed, 31 Jan 2007 13:45:52 GMT]]></title><description><![CDATA[<p>Die Klasse Stellplatz ist nicht bekannt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220499</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220499</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Wed, 31 Jan 2007 13:45:52 GMT</pubDate></item><item><title><![CDATA[Reply to Zeiger auf Eignene Klasse  (Expertenfrage !!!) on Wed, 31 Jan 2007 13:45:56 GMT]]></title><description><![CDATA[<p>Der Fehler sieht danach aus, daß der Compiler von 'Stellplatz' nur eine Forward-Deklaration gesehen hat - die reicht aus, um mit Zeigern und Referenzen zu hantieren, aber für Zugriffe auf Klassenmember brauchst du die komplette Definition der Klasse.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220500</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220500</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 31 Jan 2007 13:45:56 GMT</pubDate></item><item><title><![CDATA[Reply to Zeiger auf Eignene Klasse  (Expertenfrage !!!) on Wed, 31 Jan 2007 13:51:11 GMT]]></title><description><![CDATA[<p>#include &quot;Stellplatzausstattung.h&quot;<br />
#include &quot;Stellplatz.h&quot;</p>
<p>auch damit funktioniert das nicht, zudem steht include #include &quot;Stellplatz.h&quot;<br />
auch schon in der Stellplatzausstattung.</p>
<p>Oder was muss ich sonst machen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220502</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220502</guid><dc:creator><![CDATA[Erick73]]></dc:creator><pubDate>Wed, 31 Jan 2007 13:51:11 GMT</pubDate></item><item><title><![CDATA[Reply to Zeiger auf Eignene Klasse  (Expertenfrage !!!) on Wed, 31 Jan 2007 14:02:20 GMT]]></title><description><![CDATA[<p>falls du eine IDE verwendest musst du ein Projekt erstellen und die header- und cpp dateien zu diesem hinzufügen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220509</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220509</guid><dc:creator><![CDATA[bill bones]]></dc:creator><pubDate>Wed, 31 Jan 2007 14:02:20 GMT</pubDate></item><item><title><![CDATA[Reply to Zeiger auf Eignene Klasse  (Expertenfrage !!!) on Wed, 31 Jan 2007 14:14:33 GMT]]></title><description><![CDATA[<p>Erick73 schrieb:</p>
<blockquote>
<p>Oder was muss ich sonst machen</p>
</blockquote>
<p>Meine Tipps wären:<br />
- <strong>relevanten Code präsentieren (nicht mehr, aber auch nicht weniger)</strong><br />
- Code via c&amp;p einfügen statt schlecht neu zu tippen<br />
- keine &quot;Tags&quot; in den Titel packen deren Wahrheitsgehalt du offensichtlich nicht beurteilen kannst (Experten-/Spezialistenfrage) oder welche irrelevant bzw irrelevant sind (Wichtig, Dringen, etc)<br />
- lass das Deppenleerzeichen weg<br />
- dto für die schwachsinnigen zwei- und dreifachen Satzzeichen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220516</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220516</guid><dc:creator><![CDATA[finix]]></dc:creator><pubDate>Wed, 31 Jan 2007 14:14:33 GMT</pubDate></item><item><title><![CDATA[Reply to Zeiger auf Eignene Klasse  (Expertenfrage !!!) on Wed, 31 Jan 2007 14:16:23 GMT]]></title><description><![CDATA[<p>bill bones schrieb:</p>
<blockquote>
<p>falls du eine IDE verwendest musst du ein Projekt erstellen und die header- und cpp dateien zu diesem hinzufügen.</p>
</blockquote>
<p>Sicher, hat aber tendenziell nichts mit diesem Compilerfehler zu tun.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220520</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220520</guid><dc:creator><![CDATA[finix]]></dc:creator><pubDate>Wed, 31 Jan 2007 14:16:23 GMT</pubDate></item><item><title><![CDATA[Reply to Zeiger auf Eignene Klasse  (Expertenfrage !!!) on Thu, 01 Feb 2007 02:16:28 GMT]]></title><description><![CDATA[<p><strong>@ finix nerve lieber deine Frau oder Freund und geh uns nich auch den Sack !!!</strong></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220872</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220872</guid><dc:creator><![CDATA[observer]]></dc:creator><pubDate>Thu, 01 Feb 2007 02:16:28 GMT</pubDate></item><item><title><![CDATA[Reply to Zeiger auf Eignene Klasse  (Expertenfrage !!!) on Thu, 01 Feb 2007 06:41:06 GMT]]></title><description><![CDATA[<p>observer schrieb:</p>
<blockquote>
<p><strong>@ finix nerve lieber deine Frau oder Freund und geh uns nich auch den Sack !!!</strong></p>
</blockquote>
<p>er meints ja gut, kann sich nur nicht so gewählt ausdrücken...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1220878</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1220878</guid><dc:creator><![CDATA[ten]]></dc:creator><pubDate>Thu, 01 Feb 2007 06:41:06 GMT</pubDate></item><item><title><![CDATA[Reply to Zeiger auf Eignene Klasse  (Expertenfrage !!!) on Thu, 01 Feb 2007 12:11:18 GMT]]></title><description><![CDATA[<p>observer schrieb:</p>
<blockquote>
<p><strong>@ finix nerve lieber deine Frau oder Freund und geh uns nich auch den Sack !!!</strong></p>
</blockquote>
<p>Hat es irgendeinen tieferen Sinn dass du die Spackoschreibweise und -einstellung des anonymen Threaderstellers übernommen hast? <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1221051</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1221051</guid><dc:creator><![CDATA[finix]]></dc:creator><pubDate>Thu, 01 Feb 2007 12:11:18 GMT</pubDate></item></channel></rss>