<?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[Including ohne doppeln]]></title><description><![CDATA[<p>Hey,</p>
<p>gibt es eine Möglichkeit Bibliotheken zu includen ohne das das zur Code-Duplizierung führt?</p>
<p>Folgendes Szenario:</p>
<pre><code>ClassMother.hpp
              /               \
             /                 \
ClassGirlChild.hpp        ClassBoyChild.hpp
            \                  /
             \                /
              ClassFamilie.hpp
</code></pre>
<p>Es ist zwar leicht gestellt, aber kann ja so, in abgewandelter Form, vorkommen. Wie verhinder ich nun das das zur Codeduplizierung führt? (Es geht nur ums includen, und nicht um Vererbung).</p>
<p>Danke für eure Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/280667/including-ohne-doppeln</link><generator>RSS for Node</generator><lastBuildDate>Mon, 24 Aug 2026 01:11:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/280667.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Jan 2011 11:58:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Including ohne doppeln on Wed, 19 Jan 2011 13:08:25 GMT]]></title><description><![CDATA[<p>Hey,</p>
<p>gibt es eine Möglichkeit Bibliotheken zu includen ohne das das zur Code-Duplizierung führt?</p>
<p>Folgendes Szenario:</p>
<pre><code>ClassMother.hpp
              /               \
             /                 \
ClassGirlChild.hpp        ClassBoyChild.hpp
            \                  /
             \                /
              ClassFamilie.hpp
</code></pre>
<p>Es ist zwar leicht gestellt, aber kann ja so, in abgewandelter Form, vorkommen. Wie verhinder ich nun das das zur Codeduplizierung führt? (Es geht nur ums includen, und nicht um Vererbung).</p>
<p>Danke für eure Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2008693</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2008693</guid><dc:creator><![CDATA[Jud4s]]></dc:creator><pubDate>Wed, 19 Jan 2011 13:08:25 GMT</pubDate></item><item><title><![CDATA[Reply to Including ohne doppeln on Wed, 19 Jan 2011 12:17:21 GMT]]></title><description><![CDATA[<p><a href="https://www.google.de/search?&amp;q=Include%20Guards" rel="nofollow">Google: Include Guards</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2008701</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2008701</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Wed, 19 Jan 2011 12:17:21 GMT</pubDate></item><item><title><![CDATA[Reply to Including ohne doppeln on Wed, 19 Jan 2011 13:03:49 GMT]]></title><description><![CDATA[<p>helfen die auch beim includieren von standart libraries wie string oder iostream?</p>
<p>Also wenn man jezz z.b. sowohl in GirlChild als auch in BoyChild iostream includiert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2008725</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2008725</guid><dc:creator><![CDATA[Jud4s]]></dc:creator><pubDate>Wed, 19 Jan 2011 13:03:49 GMT</pubDate></item><item><title><![CDATA[Reply to Including ohne doppeln on Wed, 19 Jan 2011 13:05:59 GMT]]></title><description><![CDATA[<p>Ja, die haben das schon drin.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2008726</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2008726</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Wed, 19 Jan 2011 13:05:59 GMT</pubDate></item><item><title><![CDATA[Reply to Including ohne doppeln on Wed, 19 Jan 2011 13:08:16 GMT]]></title><description><![CDATA[<p>danke <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/2008731</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2008731</guid><dc:creator><![CDATA[Jud4s]]></dc:creator><pubDate>Wed, 19 Jan 2011 13:08:16 GMT</pubDate></item><item><title><![CDATA[Reply to Including ohne doppeln on Wed, 19 Jan 2011 15:46:35 GMT]]></title><description><![CDATA[<p>Bei deiner Vererbungsbeziehung hast du wahrscheinlich noch ein weiteres Problem (Diamond of Death), das du mit virtueller Vererbung umgehen kannst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2008823</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2008823</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Wed, 19 Jan 2011 15:46:35 GMT</pubDate></item><item><title><![CDATA[Reply to Including ohne doppeln on Wed, 19 Jan 2011 17:18:26 GMT]]></title><description><![CDATA[<p>Wo steht hier was von Vererbung?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2008872</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2008872</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Wed, 19 Jan 2011 17:18:26 GMT</pubDate></item><item><title><![CDATA[Reply to Including ohne doppeln on Wed, 19 Jan 2011 17:22:02 GMT]]></title><description><![CDATA[<p>Braunstein schrieb:</p>
<blockquote>
<p>Wo steht hier was von Vererbung?</p>
</blockquote>
<p>Die Headernnamen deuten darauf hin, dass hier das Wort Vererbung sogar sehr wörtlich genommen wurde.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2008874</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2008874</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Wed, 19 Jan 2011 17:22:02 GMT</pubDate></item><item><title><![CDATA[Reply to Including ohne doppeln on Wed, 19 Jan 2011 19:18:37 GMT]]></title><description><![CDATA[<p>Äh...wie bitte?</p>
<p>Mutter ist-ein Mädchen und ist-ein Junge, Mädchen ist-eine Familie, Junge ist-eine Familie? Umgekehrt ergibt das auch nicht so richtig viel Sinn - Junge ist-eine Mutter.</p>
<p>Ich vermute eher Kompositionszusammenhänge. Famile hat Mutter, Jungen, Mädchen und Junge, Mädchen haben Mutter ergibt mehr Sinn.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2008938</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2008938</guid><dc:creator><![CDATA[seldon]]></dc:creator><pubDate>Wed, 19 Jan 2011 19:18:37 GMT</pubDate></item><item><title><![CDATA[Reply to Including ohne doppeln on Thu, 20 Jan 2011 10:13:18 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/19375">@SeppJ</a> Allerdings hat der OP das hier geschrieben.</p>
<p>Jud4s schrieb:</p>
<blockquote>
<p>(Es geht nur ums includen, und nicht um Vererbung).</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/2009128</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2009128</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Thu, 20 Jan 2011 10:13:18 GMT</pubDate></item></channel></rss>