<?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[h hpp hxx...]]></title><description><![CDATA[<p>Warum verwendet man eigentlich verschiedene extensions für header dateien?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/272509/h-hpp-hxx</link><generator>RSS for Node</generator><lastBuildDate>Fri, 28 Aug 2026 21:18:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/272509.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Aug 2010 18:27:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to h hpp hxx... on Wed, 18 Aug 2010 18:27:59 GMT]]></title><description><![CDATA[<p>Warum verwendet man eigentlich verschiedene extensions für header dateien?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1941698</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1941698</guid><dc:creator><![CDATA[hhhpppxxx]]></dc:creator><pubDate>Wed, 18 Aug 2010 18:27:59 GMT</pubDate></item><item><title><![CDATA[Reply to h hpp hxx... on Wed, 18 Aug 2010 18:40:53 GMT]]></title><description><![CDATA[<p>Reine Konvention.<br />
Die einen möchten .h haben und die anderen .hpp. Wahrscheinlich um damit zu sagen, dass das C++ und kein C Header ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1941704</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1941704</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Wed, 18 Aug 2010 18:40:53 GMT</pubDate></item><item><title><![CDATA[Reply to h hpp hxx... on Wed, 18 Aug 2010 19:03:51 GMT]]></title><description><![CDATA[<p>Ich nehme .h wenn ich eine Klasse deklariere, die ich in einer anderen .cpp Datei seperat implementiere.<br />
Wenn die Implementierung in der Klassendefinition steht, nehm ich .hpp, also einem Mix aus h und cpp.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1941713</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1941713</guid><dc:creator><![CDATA[Max3000]]></dc:creator><pubDate>Wed, 18 Aug 2010 19:03:51 GMT</pubDate></item><item><title><![CDATA[Reply to h hpp hxx... on Wed, 18 Aug 2010 21:28:41 GMT]]></title><description><![CDATA[<p>Max3000 schrieb:</p>
<blockquote>
<p>Ich nehme .h wenn ich eine Klasse deklariere, die ich in einer anderen .cpp Datei seperat implementiere.<br />
Wenn die Implementierung in der Klassendefinition steht, nehm ich .hpp, also einem Mix aus h und cpp.</p>
</blockquote>
<p>Ist ja besonders nervig, dann musst du ja die Implementierung kennen um zu wissen wie du die Library jetzt einbindest. Findest du das gut?</p>
<p>Edit: Mischt du das dann tatsächlich auch innerhalb einer Bibliothek?</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1941776</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1941776</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Wed, 18 Aug 2010 21:28:41 GMT</pubDate></item><item><title><![CDATA[Reply to h hpp hxx... on Wed, 18 Aug 2010 22:09:22 GMT]]></title><description><![CDATA[<p>SideWinder schrieb:</p>
<blockquote>
<p>Edit: Mischt du das dann tatsächlich auch innerhalb einer Bibliothek?</p>
</blockquote>
<p>Wenn ich das so handhaben würde, würde mir, um die Konsistenz zu wahren, spontan einfallen, jeweils zwei Versionen zu schreiben, die sich dann so- oder sorum inkludieren:</p>
<pre><code class="language-cpp">// myclass.hpp
// MyClass + Implementierung
...
</code></pre>
<pre><code class="language-cpp">// myclass.h
#include &quot;myclass.hpp&quot;
</code></pre>
<p>So könnte der User der Bibliothek doch immer die .h-Header einbinden, ohne sich Gedanken darüber zu machen, ob nun die Implementierung mitgeladen wird oder nicht...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1941787</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1941787</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 18 Aug 2010 22:09:22 GMT</pubDate></item><item><title><![CDATA[Reply to h hpp hxx... on Thu, 19 Aug 2010 08:00:35 GMT]]></title><description><![CDATA[<p>Ich verwende .hpp um sie von C-Headern deutlich zu unterscheiden, so wie es auch der Autor meines Buches Die C++ Programmiersprache B.Stroustrup macht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1941861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1941861</guid><dc:creator><![CDATA[cppfrager]]></dc:creator><pubDate>Thu, 19 Aug 2010 08:00:35 GMT</pubDate></item><item><title><![CDATA[Reply to h hpp hxx... on Thu, 19 Aug 2010 08:42:07 GMT]]></title><description><![CDATA[<p>Ich verwende .h, weil es *H*eader-Dateien sind, keine Header-Plus-Plus-Dateien.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1941888</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1941888</guid><dc:creator><![CDATA[BadWolf]]></dc:creator><pubDate>Thu, 19 Aug 2010 08:42:07 GMT</pubDate></item><item><title><![CDATA[Reply to h hpp hxx... on Thu, 19 Aug 2010 08:45:40 GMT]]></title><description><![CDATA[<p>BadWolf schrieb:</p>
<blockquote>
<p>Ich verwende .h, weil es *H*eader-Dateien sind, keine Header-Plus-Plus-Dateien.</p>
</blockquote>
<p>Wie nennst du dann deine Implementierungsdateien? Weil &quot;.cpp&quot; drückt den Unterschied zwischen &quot;C++ Header&quot; und &quot;C++ Implementierungsdatei&quot; nicht korrekt aus - dein &quot;H&quot;eader enthält ja auch C++-Code :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1941891</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1941891</guid><dc:creator><![CDATA[l&#x27;abra d&#x27;or]]></dc:creator><pubDate>Thu, 19 Aug 2010 08:45:40 GMT</pubDate></item></channel></rss>