<?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[Eigene Bibliotheken ohne cpp Datei]]></title><description><![CDATA[<p>Ich möchte häufig gebrauchte Funktionen auslagern, so dass ich sie über eine xyz.h Datei wieder zu Projekten hinzufügen kann.<br />
Das erfordert jedoch auch dass ich die xyz.cpp Datei hinzufüge.</p>
<p>Kann man auch den kompletten Inhalt von xyz.cpp in xyz.h schreiben, und falls nicht wie macht man es dann ?</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/185410/eigene-bibliotheken-ohne-cpp-datei</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 16:07:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/185410.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Jun 2007 12:15:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Mon, 25 Jun 2007 12:15:00 GMT]]></title><description><![CDATA[<p>Ich möchte häufig gebrauchte Funktionen auslagern, so dass ich sie über eine xyz.h Datei wieder zu Projekten hinzufügen kann.<br />
Das erfordert jedoch auch dass ich die xyz.cpp Datei hinzufüge.</p>
<p>Kann man auch den kompletten Inhalt von xyz.cpp in xyz.h schreiben, und falls nicht wie macht man es dann ?</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313284</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313284</guid><dc:creator><![CDATA[pospiech]]></dc:creator><pubDate>Mon, 25 Jun 2007 12:15:00 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Mon, 25 Jun 2007 12:18:08 GMT]]></title><description><![CDATA[<p>für gewöhnlich lagert man soetwas in bibliotheken aus</p>
<p>dann benötigt man xyz.dll/lib/so/a und den header, muss es aber nicht ständig neu kompilieren</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313287</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313287</guid><dc:creator><![CDATA[ronny]]></dc:creator><pubDate>Mon, 25 Jun 2007 12:18:08 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Mon, 25 Jun 2007 12:22:38 GMT]]></title><description><![CDATA[<p>ich hab meine gewrappte WinAPI in einer lib fuer release und eine fuer debug,</p>
<p>dann sag ich bei meinem projekt dem linker welche lib er nehmen soll - und als additional header folder mein verzeichnis wo ich die h liegen habe</p>
<p>dann brauch ich immer wenn ich zb eine winapi list control brauch nur</p>
<p>#include &lt;ListCtrl.h&gt;</p>
<p>machen - schon kann ich die klasse aus meiner WinAPI lib benutzen ohne irgenwas beachten zu muessen</p>
<p>#include &lt;ListCtrl.h&gt;</p>
<p>WinAPI::CListCtrl listctrl;<br />
listctrl.create(...blablubber...);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313294</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313294</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Mon, 25 Jun 2007 12:22:38 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Mon, 25 Jun 2007 12:22:50 GMT]]></title><description><![CDATA[<p>r0nny schrieb:</p>
<blockquote>
<p>für gewöhnlich lagert man soetwas in bibliotheken aus</p>
<p>dann benötigt man xyz.dll/lib/so/a und den header, muss es aber nicht ständig neu kompilieren</p>
</blockquote>
<p>und wie erstelle ich die ?<br />
Umgekehrt, wie funktioniert das bei den std:: Bibliotheken ?</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313296</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313296</guid><dc:creator><![CDATA[pospiech]]></dc:creator><pubDate>Mon, 25 Jun 2007 12:22:50 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Mon, 25 Jun 2007 12:27:50 GMT]]></title><description><![CDATA[<p>Normalerweise kann der Compiler je nach Projekt genau das erstellen, was du brauchst - für eine Bibliothek eben die passende LIB- oder DLL, die du dann an dein Anwendungsprojekt anhängen kannst.</p>
<p>(die std-Libs werden vom Compiler automatisch gefunden und mit eingelinkt, wenn du sie brauchst (wobei dort auch große Teile als Templates vorliegen))</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313300</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313300</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 25 Jun 2007 12:27:50 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Mon, 25 Jun 2007 12:33:19 GMT]]></title><description><![CDATA[<p>Aus den antworten schließe ich jetzt dass ich<br />
a) es nicht alleine über Quellcode machen kann sondern Bibliotheken compilieren muss<br />
b) ich Informationen benötige wie man Bibliotheken erstellt (Doku?)</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313305</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313305</guid><dc:creator><![CDATA[pospiech]]></dc:creator><pubDate>Mon, 25 Jun 2007 12:33:19 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Mon, 25 Jun 2007 12:37:46 GMT]]></title><description><![CDATA[<p>klassen können alleine im header stehen ohne *.cpp. Und afaik gehen auch freie funktionen, solang man sie als inline deklariert.<br />
Und templates stehen eh immer komplett im header, also ist da auch kein problem.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313311</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313311</guid><dc:creator><![CDATA[otze]]></dc:creator><pubDate>Mon, 25 Jun 2007 12:37:46 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Tue, 26 Jun 2007 13:40:47 GMT]]></title><description><![CDATA[<p>ich hab da auch noch nachholbedarf, ich habe so den einen oder anderen header der Kram wie StringToChar, IntToStr usw. enthält und wusste auch nicht wie man das nun richtig angeht.</p>
<p>Ich habe jetzt die Funktionen als statische Exemplare und binde den Header in jeder File ein in der ich die Funktionen brauche. Kann man das so machen oder is das selten dämlich?<br />
(es handelt sich da vielleicht um 3-4 Methoden mit insgesamt 50 Linien Code)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314033</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314033</guid><dc:creator><![CDATA[GreyHound]]></dc:creator><pubDate>Tue, 26 Jun 2007 13:40:47 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Tue, 26 Jun 2007 13:44:44 GMT]]></title><description><![CDATA[<p>Man kann es so machen, aber es ist &quot;selten dämlich&quot; - bei größeren Projekten bekommt nämlich jede Übersetzungseinheit eine eigene Version dieser Funktionen mitgeliefert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314037</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314037</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 26 Jun 2007 13:44:44 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Tue, 26 Jun 2007 14:12:22 GMT]]></title><description><![CDATA[<p>Ich habe auch Funktionen die ich in jeder Klasse per .h Datei lade wo ich sie brauche. Nur wie ich es anders machen sollte ist mir jetzt nicht klar.</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314061</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314061</guid><dc:creator><![CDATA[pospiech]]></dc:creator><pubDate>Tue, 26 Jun 2007 14:12:22 GMT</pubDate></item><item><title><![CDATA[Reply to Eigene Bibliotheken ohne cpp Datei on Tue, 26 Jun 2007 14:32:25 GMT]]></title><description><![CDATA[<p>Sowas lagert man normalerweise in eine statische oder dynamische (dll) lib aus (wie einige andere schon gesagt haben)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1314077</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1314077</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Tue, 26 Jun 2007 14:32:25 GMT</pubDate></item></channel></rss>