<?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[Header Dateien]]></title><description><![CDATA[<p>wie funktioniert das unterbinden der mehrfach einfügen von include dateien?</p>
<p>wäre das hier möglich:</p>
<p>#ifndef xyz_h<br />
#define xyz_h</p>
<p>#include xyz.h</p>
<p>#endif</p>
<p>muss ich für jede include datei eine symbolische konstante erstellen?</p>
<p>wie würde dies ausschauen wenn ich z.b. folgende include-dateien hätte und nur einmal einbinden möchte, #include tt.h, #include uu.h, #include vv.h und #include ww.h</p>
<p>so:?</p>
<p>#ifndef xyz_h<br />
#define xyz_h</p>
<p>#include tt.h<br />
#include uu.h<br />
#include vv.h<br />
#include ww.h</p>
<p>#endif</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/120645/header-dateien</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 11:33:55 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/120645.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Sep 2005 09:08:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Header Dateien on Thu, 15 Sep 2005 09:08:19 GMT]]></title><description><![CDATA[<p>wie funktioniert das unterbinden der mehrfach einfügen von include dateien?</p>
<p>wäre das hier möglich:</p>
<p>#ifndef xyz_h<br />
#define xyz_h</p>
<p>#include xyz.h</p>
<p>#endif</p>
<p>muss ich für jede include datei eine symbolische konstante erstellen?</p>
<p>wie würde dies ausschauen wenn ich z.b. folgende include-dateien hätte und nur einmal einbinden möchte, #include tt.h, #include uu.h, #include vv.h und #include ww.h</p>
<p>so:?</p>
<p>#ifndef xyz_h<br />
#define xyz_h</p>
<p>#include tt.h<br />
#include uu.h<br />
#include vv.h<br />
#include ww.h</p>
<p>#endif</p>
]]></description><link>https://www.c-plusplus.net/forum/post/872581</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/872581</guid><dc:creator><![CDATA[include_XY]]></dc:creator><pubDate>Thu, 15 Sep 2005 09:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to Header Dateien on Thu, 15 Sep 2005 09:11:49 GMT]]></title><description><![CDATA[<p>Man schreibt diese #ifndef/#define/#endif-Konstrukte (auch Include-Guards genannt) in die Headerdatei, nicht in die einbindende Quellcodedatei.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/872584</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/872584</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Thu, 15 Sep 2005 09:11:49 GMT</pubDate></item><item><title><![CDATA[Reply to Header Dateien on Thu, 15 Sep 2005 09:28:41 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">// Header1.h
#ifndef header1_h
#define header1_h
// Header code
#endif

// Header2.h
#ifndef header2_h
#define header2_h
// Header code
#endif

// usw.
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/872602</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/872602</guid><dc:creator><![CDATA[mantiz]]></dc:creator><pubDate>Thu, 15 Sep 2005 09:28:41 GMT</pubDate></item><item><title><![CDATA[Reply to Header Dateien on Thu, 15 Sep 2005 09:47:33 GMT]]></title><description><![CDATA[<p>also nicht in die quelldatei sondern nur in die header-datei selbst! danke.</p>
<p>welche unterschiede weisen diese vererbungen vo:</p>
<p>virtual inheritance<br />
multiple Inheritance<br />
public Inheritance</p>
]]></description><link>https://www.c-plusplus.net/forum/post/872622</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/872622</guid><dc:creator><![CDATA[include_XY]]></dc:creator><pubDate>Thu, 15 Sep 2005 09:47:33 GMT</pubDate></item><item><title><![CDATA[Reply to Header Dateien on Thu, 15 Sep 2005 13:36:10 GMT]]></title><description><![CDATA[<p>include_XY schrieb:</p>
<blockquote>
<p>welche unterschiede weisen diese vererbungen vo:</p>
<p>virtual inheritance<br />
multiple Inheritance<br />
public Inheritance</p>
</blockquote>
<p>Diese Vererbungsformen sind orthogonal zueinander. Deshalb ist die Frage falsch gestellt. Die Eigenschaften dieser Vererbungsformen wurde hier schon das ein oder andere Mal besprochen. Die Suchfunktion sollte also helfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/872873</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/872873</guid><dc:creator><![CDATA[HumeSikkins]]></dc:creator><pubDate>Thu, 15 Sep 2005 13:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to Header Dateien on Thu, 15 Sep 2005 15:15:38 GMT]]></title><description><![CDATA[<p>ok! das glaube ich nun verstanden zu haben.</p>
<blockquote>
<p>Avoid Defining Static Data Members<br />
Static is synonymous of memory fragmentation and pagination. In addition, a static member function is required to handle a static data member. Before defining a static data member, make sure this data is really common to all instances of your class, such as an instance counter, and not only to some of them.</p>
</blockquote>
<p>was ist ein instance counter und was bewirkt das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/872968</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/872968</guid><dc:creator><![CDATA[include_XY]]></dc:creator><pubDate>Thu, 15 Sep 2005 15:15:38 GMT</pubDate></item></channel></rss>