<?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[Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator]]></title><description><![CDATA[<p>Ich arbeite derzeit an einem Programm und ich habe ein Problem, der Compiler(VisualStudio .NET 2002) gibt keinen Fehler aus, bzw. er kompiliert alles ohne Probleme, nur beim Ausführen des Programms kommt ein Fehler (Typ unbekannt), d.h. der Debugger von MS erscheint und fragt nach ob er debuggen soll.</p>
<p>Hier ist ein Beispiel vom Code:<br />
**</p>
<p>Teil1.h**</p>
<pre><code>#ifndef __TEIL1_H_INCLUDED__
#define __TEIL1_H_INCLUDED__

#include &lt;windows.h&gt;

#include &quot;Teil2.h&quot;

class CGame 
{
public:
    CGame();
	~CGame();

	void Init();
	void CreateScene();
	void Run();
private:
Teil2 *MyTeil2;
};
#endif
</code></pre>
<p><strong>Teil1.cpp</strong></p>
<pre><code>#include &quot;CGame.h&quot;

#include &lt;stdio.h&gt;

CGame::CGame(){};
CGame::~CGame(){};

void CGame::Init()
{	
};

void CGame::CreateScene()
{	
   //Hier ist ein Beispiel mit dem &quot;-&gt;&quot; Operator
   MyTeil2-&gt;setCam();
};		

void CGame::Run()
{
};
</code></pre>
<p><strong>Teil2.h</strong></p>
<pre><code>#ifndef __TEIL2_H_INCLUDED__
#define __TEIL2_H_INCLUDED__

class CCamera
{
public:

	CCamera();

	~CCamera();

	virtual void setCam();

	virtual void addRotationLookAtAnimator();
	virtual void addPitchAnimator();
	virtual void addZoomAnimator();

private:

};
#endif
</code></pre>
<p><strong>Teil2.cpp</strong></p>
<pre><code>#include &quot;CCamera.h&quot;

CCamera::CCamera()
{
};
CCamera::~CCamera()
{
};

 void CCamera::setCam()
{
}

void CCamera::addRotationLookAtAnimator()
{
}

void CCamera::addPitchAnimator()
{
}
void CCamera::addZoomAnimator()
{
}
</code></pre>
<p>main.cpp</p>
<pre><code>#include &lt;stdio.h&gt;
#include &quot;Teil1.h&quot;

#ifdef _WIN32
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
#else
int main()
#endif
{
	CGame *Game;

	Game-&gt;Init();
	Game-&gt;CreateScene();
	Game-&gt;Run();
	Game-&gt;ShutDown();

	return 0;
}
</code></pre>
<p>Ich habe die FunKtionen extra leer gelassen, damit nicht soviel Platz eingenommen wird.<br />
Ich weiß das es mit dem &quot;-&gt;&quot; operator Probleme gibt, denn wenn ich ihn raus nehme und die Sache anders löse, z.b mit Teil1 MyTeil1, und nicht Teil1 *MyTeil1, muss ich ja den &quot;.&quot; Operator nehmen und nicht den &quot;-&gt;&quot;.∂</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/119374/probleme-mit-dem-quot-gt-quot-operator</link><generator>RSS for Node</generator><lastBuildDate>Fri, 21 Aug 2026 23:17:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/119374.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 Aug 2005 13:33:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 13:33:50 GMT]]></title><description><![CDATA[<p>Ich arbeite derzeit an einem Programm und ich habe ein Problem, der Compiler(VisualStudio .NET 2002) gibt keinen Fehler aus, bzw. er kompiliert alles ohne Probleme, nur beim Ausführen des Programms kommt ein Fehler (Typ unbekannt), d.h. der Debugger von MS erscheint und fragt nach ob er debuggen soll.</p>
<p>Hier ist ein Beispiel vom Code:<br />
**</p>
<p>Teil1.h**</p>
<pre><code>#ifndef __TEIL1_H_INCLUDED__
#define __TEIL1_H_INCLUDED__

#include &lt;windows.h&gt;

#include &quot;Teil2.h&quot;

class CGame 
{
public:
    CGame();
	~CGame();

	void Init();
	void CreateScene();
	void Run();
private:
Teil2 *MyTeil2;
};
#endif
</code></pre>
<p><strong>Teil1.cpp</strong></p>
<pre><code>#include &quot;CGame.h&quot;

#include &lt;stdio.h&gt;

CGame::CGame(){};
CGame::~CGame(){};

void CGame::Init()
{	
};

void CGame::CreateScene()
{	
   //Hier ist ein Beispiel mit dem &quot;-&gt;&quot; Operator
   MyTeil2-&gt;setCam();
};		

void CGame::Run()
{
};
</code></pre>
<p><strong>Teil2.h</strong></p>
<pre><code>#ifndef __TEIL2_H_INCLUDED__
#define __TEIL2_H_INCLUDED__

class CCamera
{
public:

	CCamera();

	~CCamera();

	virtual void setCam();

	virtual void addRotationLookAtAnimator();
	virtual void addPitchAnimator();
	virtual void addZoomAnimator();

private:

};
#endif
</code></pre>
<p><strong>Teil2.cpp</strong></p>
<pre><code>#include &quot;CCamera.h&quot;

CCamera::CCamera()
{
};
CCamera::~CCamera()
{
};

 void CCamera::setCam()
{
}

void CCamera::addRotationLookAtAnimator()
{
}

void CCamera::addPitchAnimator()
{
}
void CCamera::addZoomAnimator()
{
}
</code></pre>
<p>main.cpp</p>
<pre><code>#include &lt;stdio.h&gt;
#include &quot;Teil1.h&quot;

#ifdef _WIN32
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
#else
int main()
#endif
{
	CGame *Game;

	Game-&gt;Init();
	Game-&gt;CreateScene();
	Game-&gt;Run();
	Game-&gt;ShutDown();

	return 0;
}
</code></pre>
<p>Ich habe die FunKtionen extra leer gelassen, damit nicht soviel Platz eingenommen wird.<br />
Ich weiß das es mit dem &quot;-&gt;&quot; operator Probleme gibt, denn wenn ich ihn raus nehme und die Sache anders löse, z.b mit Teil1 MyTeil1, und nicht Teil1 *MyTeil1, muss ich ja den &quot;.&quot; Operator nehmen und nicht den &quot;-&gt;&quot;.∂</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862068</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862068</guid><dc:creator><![CDATA[ColeZero]]></dc:creator><pubDate>Wed, 31 Aug 2005 13:33:50 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 13:36:02 GMT]]></title><description><![CDATA[<p>Mit dem -&gt; Operator gibts kein Problem. Er dereferenziert automatisch deinen Zeiger MyTeil2 und führt dann den Punkt-Operator aus. Macht also automatsich das hier:</p>
<pre><code class="language-cpp">(*MyTeil2).
</code></pre>
<p>Die Sache wird die sein, dass MyTeil2 bei dir noch nirgends hinzeigt. Du musst dem Zeiger erstmal auf ein gültiges MyTeil2 zeigen lassen. Ansonsten zeigt er nämlich ins Niemansland und wenn du dann -&gt; ausführst führst du das im Niemandsland aus. Das wiederrum mag das Betriebssystem nicht und lässt dein Programm eiskalt abstürzen.</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862071</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862071</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Wed, 31 Aug 2005 13:36:02 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 13:47:23 GMT]]></title><description><![CDATA[<p>Wird das nicht hier gemacht?:</p>
<pre><code>Teil2 *MyTeil2;
//Hab ich mich verschrieben meine natürlich die Klasse CCamera, also 
CCamera *Camera
</code></pre>
<p>später wird das dann so verwendet, bei mir:</p>
<p>Camera-&gt;setCam();<br />
Und nicht MyTeil2-&gt;setCam();</p>
<p>Hab ich mich leider verschrieben</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862078</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862078</guid><dc:creator><![CDATA[ColeZero]]></dc:creator><pubDate>Wed, 31 Aug 2005 13:47:23 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 13:52:54 GMT]]></title><description><![CDATA[<p>Vieleicht hilft das weiter.<br />
Mit dem CLR-Debugger von MS kommt folgender Fehler beim ausführen:</p>
<p><strong>System.NullReferenceException</strong></p>
]]></description><link>https://www.c-plusplus.net/forum/post/862087</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862087</guid><dc:creator><![CDATA[ColeZero]]></dc:creator><pubDate>Wed, 31 Aug 2005 13:52:54 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 14:00:06 GMT]]></title><description><![CDATA[<p>ColeZero schrieb:</p>
<blockquote>
<p>Wird das nicht hier gemacht?:</p>
<pre><code>Teil2 *MyTeil2;
//Hab ich mich verschrieben meine natürlich die Klasse CCamera, also 
CCamera *Camera
</code></pre>
</blockquote>
<p>du hast einen zeiger auf einen objekt vom typ Teil2...aber wo ist das passende objekt? Wo zeigt der zeiger hin? wo ist das ziel?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862102</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862102</guid><dc:creator><![CDATA[otze]]></dc:creator><pubDate>Wed, 31 Aug 2005 14:00:06 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 14:04:33 GMT]]></title><description><![CDATA[<blockquote>
<p>Wird das nicht hier gemacht?:</p>
</blockquote>
<p>Nein, hier legst du eine Variable vom Typ Zeiger auf CCamera an und keine CCamera. Warum brauchst du überhaupt einen Zeiger, tuts kein normales Objekt?</p>
<pre><code class="language-cpp">Camera cam;
</code></pre>
<p>Tuts das nicht? Wenn nicht, dann Konstruktor:</p>
<pre><code class="language-cpp">Camera* cam;

...

Game::Game ()
    :
cam(new Camera()) // Initialisiere den Zeiger auf cam mit einer neuen Kamera
// Damit die auch über die Methoden als Nicht-Member-Variable da bleibt müssen wir sie mit new am Heap anlegen
{
}

Game::~Game ()
{
    // Was wir mit new am Heap anlegen muss auch wieder freigegeben werden
    delete cam;
}
</code></pre>
<p>BTW: Wie du siehst hab ich die ganzen C vor den Klassennamen gekillt, solltest du auch tun.</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862107</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862107</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Wed, 31 Aug 2005 14:04:33 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 14:20:03 GMT]]></title><description><![CDATA[<p>Vielen Dank<br />
Hast recht ich hab die C entfernt, nerven ein wenig..^^<br />
Vorallendingen wenn ich jetzt eine Datei suche,bzw. den Anfangbuchstaben suche, werden nicht gleich alle Dateien angezeigt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862117</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862117</guid><dc:creator><![CDATA[ColeZero]]></dc:creator><pubDate>Wed, 31 Aug 2005 14:20:03 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 14:39:24 GMT]]></title><description><![CDATA[<blockquote>
<p>Tuts das nicht? Wenn nicht, dann Konstruktor:<br />
C/C++ Code:<br />
Camera* cam;</p>
<p>...</p>
<p>Game::Game ()<br />
:<br />
cam(new Camera()) // Initialisiere den Zeiger auf cam mit einer neuen Kamera<br />
// Damit die auch über die Methoden als Nicht-Member-Variable da bleibt müssen wir sie mit new am Heap anlegen<br />
{<br />
}</p>
<p>Game::~Game ()<br />
{<br />
// Was wir mit new am Heap anlegen muss auch wieder freigegeben werden<br />
delete cam;<br />
}<br />
C/C++ Code:<br />
Camera* cam;</p>
<p>...</p>
<p>Game::Game ()<br />
:<br />
cam(new Camera()) // Initialisiere den Zeiger auf cam mit einer neuen Kamera<br />
// Damit die auch über die Methoden als Nicht-Member-Variable da bleibt müssen wir sie mit new am Heap anlegen<br />
{<br />
}</p>
<p>Game::~Game ()<br />
{<br />
// Was wir mit new am Heap anlegen muss auch wieder freigegeben werden<br />
delete cam;<br />
}<br />
C/C++ Code:<br />
Camera* cam;</p>
<p>...</p>
<p>Game::Game ()<br />
:<br />
cam(new Camera()) // Initialisiere den Zeiger auf cam mit einer neuen Kamera<br />
// Damit die auch über die Methoden als Nicht-Member-Variable da bleibt müssen wir sie mit new am Heap anlegen<br />
{<br />
}</p>
<p>Game::~Game ()<br />
{<br />
// Was wir mit new am Heap anlegen muss auch wieder freigegeben werden<br />
delete cam;<br />
}</p>
</blockquote>
<p>Funktioniert auch nicht den jetzt meint er bei (new Camera()), dass er keinen geeigneten Standartkonstruktor findet.</p>
<p>p.s nebenbei:</p>
<p>Wenn ich ein normales Object anlege um es z.b in einer Methode einer Klasse zuverwenden, will es aber in einer weiteren Methode der selben Klasse nutzen, muss ich es dann nochmal instanzieren??</p>
<p>Beispiel:</p>
<pre><code>class Test
{

public:

void Hallo();
void Bye();

};
</code></pre>
<p>[code]</p>
<p>void Test::Hallo()<br />
{<br />
Meet MyMeet;<br />
MyMeet.Treffen();<br />
}</p>
<p>void Test::Bye()<br />
{<br />
MyMeet.GoodBye();<br />
//Hier kennt er ja das MyMeet nicht mehr.<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862124</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862124</guid><dc:creator><![CDATA[ColeZero]]></dc:creator><pubDate>Wed, 31 Aug 2005 14:39:24 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 14:36:51 GMT]]></title><description><![CDATA[<p>Offenbar hat deine Camera-Klasse verschiedene Konstruktoren, statt () kommt da dann halt eben (vector,vector,vector) oder was auch immer hin. Ein passender Konstruktor halt, so als würdest du das Objekt ganz normal erstellen, da musst du Camera ja auch was übergeben:</p>
<pre><code class="language-cpp">Camera cam; // funktioniert ja dann auch nicht, musst ja auch:
Camera cam(hier_was_rein); // schreiben
</code></pre>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862125</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862125</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Wed, 31 Aug 2005 14:36:51 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 14:47:37 GMT]]></title><description><![CDATA[<p>Oh ja seh ich auch grad ich DEpp <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="😃"
    /> <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/862136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862136</guid><dc:creator><![CDATA[ColeZero]]></dc:creator><pubDate>Wed, 31 Aug 2005 14:47:37 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 14:57:00 GMT]]></title><description><![CDATA[<p>So richtig funktionieren tuts immer noch nicht..dann lass ich das eben und erstelle normale Objecte.<br />
DOch da ergibt sich folgendes Problem, welches ich ja mit der eben versuchten Methode nicht ergeben hat.</p>
<p>Wenn ich ein normales Object anlege um es z.b in einer Methode einer Klasse zuverwenden, will es aber in einer weiteren Methode der selben Klasse nutzen, muss ich es dann nochmal instanzieren??</p>
<p>Beispiel:</p>
<pre><code>class Test
{

public:

void Hallo();
void Bye();

};
</code></pre>
<pre><code>void Test::Hallo()
{
Meet MyMeet;
MyMeet.Treffen();
}

void Test::Bye()
{
MyMeet.GoodBye();
//Hier kennt er ja das MyMeet nicht mehr.
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/862143</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862143</guid><dc:creator><![CDATA[ColeZero]]></dc:creator><pubDate>Wed, 31 Aug 2005 14:57:00 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 15:27:36 GMT]]></title><description><![CDATA[<p>Wenn du das machen willst dann muss MyMeet als member in die Klasse.</p>
<pre><code class="language-cpp">class Test{
public:
  void Hallo();
  void Bye();
protected:
  Meet MyMeet;
}; 

void Test::Hallo(){
   MyMeet.Treffen();
}

void Test::Bye(){
  MyMeet.GoodBye();
}
</code></pre>
<p>Kurt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862174</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862174</guid><dc:creator><![CDATA[ZuK]]></dc:creator><pubDate>Wed, 31 Aug 2005 15:27:36 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Wed, 31 Aug 2005 15:29:09 GMT]]></title><description><![CDATA[<p>Nimm meinen Rat und ließ dir mal ein gutes Tutorial zum Thema Klassen durch zB hier: <a href="http://tutorial.schornboeck.net" rel="nofollow">http://tutorial.schornboeck.net</a> <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="🙂"
    /> oder auch Volkards Tutorial auf <a href="http://www.volkard.de" rel="nofollow">http://www.volkard.de</a></p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862176</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862176</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Wed, 31 Aug 2005 15:29:09 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Thu, 01 Sep 2005 15:05:53 GMT]]></title><description><![CDATA[<blockquote>
<p>Wenn du das machen willst dann muss MyMeet als member in die Klasse.<br />
C/C++ Code:<br />
class Test{<br />
public:<br />
void Hallo();<br />
void Bye();<br />
protected:<br />
Meet MyMeet;<br />
};</p>
<p>void Test::Hallo(){<br />
MyMeet.Treffen();<br />
}</p>
<p>void Test::Bye(){<br />
MyMeet.GoodBye();<br />
}</p>
<p>Kurt</p>
</blockquote>
<p>Und was ist wenn die Klasse keinen Standartkonstr. verwendet?<br />
Sondern einen parameterabhänigen Eigenkonstr.?<br />
Also z.B.: Meet MyMeet(i,a);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862907</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862907</guid><dc:creator><![CDATA[Cyphy]]></dc:creator><pubDate>Thu, 01 Sep 2005 15:05:53 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Thu, 01 Sep 2005 15:16:57 GMT]]></title><description><![CDATA[<p>Dann würd ichs so machen</p>
<pre><code class="language-cpp">class Test{
public:
  Test()  { MyMeet = new Meet( 12, &quot;a&quot; );  }
  virtual ~Test() { delete MyMeet; }
  void Hallo();
  void Bye();
protected:
  Meet * MyMeet;
};

void Test::Hallo(){
  MyMeet-&gt;Treffen();
}

void Test::Bye(){
  MyMeet-&gt;GoodBye();
}
</code></pre>
<p>oder auch</p>
<pre><code class="language-cpp">class Test{
public:
  Test( int x, const char * a ): MyMeet( x, a ){ }
  Test(): MyMeet( 0, &quot;&quot; ){ }
  void Hallo();
  void Bye();
protected:
  Meet MyMeet;
};

void Test::Hallo(){
  MyMeet.Treffen();
}

void Test::Bye(){
  MyMeet.GoodBye();
}
</code></pre>
<p>Kurt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862917</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862917</guid><dc:creator><![CDATA[ZuK]]></dc:creator><pubDate>Thu, 01 Sep 2005 15:16:57 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Thu, 01 Sep 2005 15:34:28 GMT]]></title><description><![CDATA[<blockquote>
<p>Dann würd ichs so machen<br />
C/C++ Code:<br />
class Test{<br />
public:<br />
Test() { MyMeet = new Meet( 12, &quot;a&quot; ); }<br />
virtual ~Test() { delete MyMeet; }<br />
void Hallo();<br />
void Bye();<br />
protected:<br />
Meet * MyMeet;<br />
};</p>
<p>void Test::Hallo(){<br />
MyMeet-&gt;Treffen();<br />
}</p>
<p>void Test::Bye(){<br />
MyMeet-&gt;GoodBye();<br />
}</p>
</blockquote>
<p>Führt leider zum absturz des Programms. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/862941</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862941</guid><dc:creator><![CDATA[Cyphy]]></dc:creator><pubDate>Thu, 01 Sep 2005 15:34:28 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit dem &amp;quot;-&amp;gt;&amp;quot; Operator on Thu, 01 Sep 2005 16:48:50 GMT]]></title><description><![CDATA[<p>Cyphy schrieb:</p>
<blockquote>
<p>Führt leider zum absturz des Programms. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
</blockquote>
<p>Wann das so ist dann ist in der Klasse Meet der Wurm drin.<br />
Kurt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/863003</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/863003</guid><dc:creator><![CDATA[ZuK]]></dc:creator><pubDate>Thu, 01 Sep 2005 16:48:50 GMT</pubDate></item></channel></rss>