<?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[Vererbung]]></title><description><![CDATA[<pre><code>class Base
{
   virtual funk() = 0 ;
};

class Child : public Base 
{

};

class Myclass : public Child
{

};
</code></pre>
<p>Die Child Klasse muss definitiv die funk() Methode implementieren. Muss ich das in meiner Klasse auch noch. Ich persoenlich denke nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/325567/vererbung</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 14:23:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/325567.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 May 2014 10:19:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 10:19:43 GMT]]></title><description><![CDATA[<pre><code>class Base
{
   virtual funk() = 0 ;
};

class Child : public Base 
{

};

class Myclass : public Child
{

};
</code></pre>
<p>Die Child Klasse muss definitiv die funk() Methode implementieren. Muss ich das in meiner Klasse auch noch. Ich persoenlich denke nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398057</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398057</guid><dc:creator><![CDATA[blurry333]]></dc:creator><pubDate>Thu, 08 May 2014 10:19:43 GMT</pubDate></item><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 10:26:54 GMT]]></title><description><![CDATA[<p>blurry333 schrieb:</p>
<blockquote>
<p>Die Child Klasse muss definitiv die funk() Methode implementieren.</p>
</blockquote>
<p>Nö.</p>
<blockquote>
<p>Muss ich das in meiner Klasse auch noch.</p>
</blockquote>
<p>Nö.</p>
<blockquote>
<p>Ich persoenlich denke nicht.</p>
</blockquote>
<p>Schoen, aber du koentest es nachlesen oder ausprobieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398059</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398059</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Thu, 08 May 2014 10:26:54 GMT</pubDate></item><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 10:33:31 GMT]]></title><description><![CDATA[<p>Klar muss die child Klasse die Methode implementieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398061</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398061</guid><dc:creator><![CDATA[blurry333]]></dc:creator><pubDate>Thu, 08 May 2014 10:33:31 GMT</pubDate></item><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 10:34:29 GMT]]></title><description><![CDATA[<p>Nein du depp</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398063</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398063</guid><dc:creator><![CDATA[lolalter]]></dc:creator><pubDate>Thu, 08 May 2014 10:34:29 GMT</pubDate></item><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 10:39:04 GMT]]></title><description><![CDATA[<p>blurry333 schrieb:</p>
<blockquote>
<p>Klar muss die child Klasse die Methode implementieren.</p>
</blockquote>
<p>Schlicht und einfach falsch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398064</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398064</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Thu, 08 May 2014 10:39:04 GMT</pubDate></item><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 10:49:08 GMT]]></title><description><![CDATA[<p>Die Base Klasse ist abstrakt . Habt ihr das =0 nicht gesehen ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398066</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398066</guid><dc:creator><![CDATA[blurry333]]></dc:creator><pubDate>Thu, 08 May 2014 10:49:08 GMT</pubDate></item><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 10:56:08 GMT]]></title><description><![CDATA[<p>blurry333 schrieb:</p>
<blockquote>
<p>Die Base Klasse ist abstrakt . Habt ihr das =0 nicht gesehen ?</p>
</blockquote>
<p>Doch, haben wir. Ändert aber wirklich nichts an der Tatsache, dass weder Child noch MyClass eine Implementierung der Methode bereitstellen müssen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398069</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398069</guid><dc:creator><![CDATA[daddy_felix]]></dc:creator><pubDate>Thu, 08 May 2014 10:56:08 GMT</pubDate></item><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 11:04:23 GMT]]></title><description><![CDATA[<p>Wollt ihr mich verarschen ?</p>
<p>Ich zitiere mal :</p>
<p>Vorteil dieser Vorgehensweise ist die spätere Verwendung von Methoden der Basisklasse, bei denen die Implementierung erzwungen wurde.<br />
Der Verwender der abgeleiteten Klasse kann sich darauf verlassen, dass die Methode implementiert wurde, ohne die weiteren Teile der Hierarchie zu kennen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398071</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398071</guid><dc:creator><![CDATA[blurry333]]></dc:creator><pubDate>Thu, 08 May 2014 11:04:23 GMT</pubDate></item><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 11:10:02 GMT]]></title><description><![CDATA[<p>Wenn ein Objekt erstellt wird, dass von einer Klasse mit pure virtueller Funktion erbt, dann muss sie diese implementieren. Solange kein Objekt erstellt wird braucht sie das nicht. Insbesondere kann sie das Implementieren an davon erbende Klassen abgeben anstatt es selbst zu machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398073</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398073</guid><dc:creator><![CDATA[nwp3]]></dc:creator><pubDate>Thu, 08 May 2014 11:10:02 GMT</pubDate></item><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 11:10:16 GMT]]></title><description><![CDATA[<p>die abgeleiteten klassen müssen die methode nur implementieren, wenn man die klasse instantiieren können möchte. wenn man sie nicht implementiert, so bleiben die abgeleiteten klassen eben weiterhin abstrakt. nichts verbotenes...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2398074</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398074</guid><dc:creator><![CDATA[brully666]]></dc:creator><pubDate>Thu, 08 May 2014 11:10:16 GMT</pubDate></item><item><title><![CDATA[Reply to Vererbung on Thu, 08 May 2014 11:28:10 GMT]]></title><description><![CDATA[<p>ok <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>
]]></description><link>https://www.c-plusplus.net/forum/post/2398079</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2398079</guid><dc:creator><![CDATA[blurry333]]></dc:creator><pubDate>Thu, 08 May 2014 11:28:10 GMT</pubDate></item></channel></rss>