<?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 C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern]]></title><description><![CDATA[<p>Hallo,<br />
wie kann man mit C++ einen Compiler ansteuern, also Quellcode übersetzten usw ?<br />
Ich würde mir nämlich gerne mal aus Spaß nen kleinen C++ Editor programmieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/320620/eigene-c-quot-ide-quot-editor-compiler-ansteuern</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 15:31:09 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/320620.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Oct 2013 09:51:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 09:51:09 GMT]]></title><description><![CDATA[<p>Hallo,<br />
wie kann man mit C++ einen Compiler ansteuern, also Quellcode übersetzten usw ?<br />
Ich würde mir nämlich gerne mal aus Spaß nen kleinen C++ Editor programmieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358024</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358024</guid><dc:creator><![CDATA[DuffCola]]></dc:creator><pubDate>Sat, 05 Oct 2013 09:51:09 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 09:59:05 GMT]]></title><description><![CDATA[<blockquote>
<p>wie kann man mit C++ einen Compiler ansteuern, also Quellcode übersetzten usw ?</p>
</blockquote>
<p>Mit der Konsole? Dazu gibt es massenweise Tutorials im Internet. Googlen.</p>
<blockquote>
<p>Ich würde mir nämlich gerne mal aus Spaß nen kleinen C++ Editor programmieren.</p>
</blockquote>
<p>... Sicher, dass das kein zu groß geratenes Unterfangen ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358028</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358028</guid><dc:creator><![CDATA[Columbo]]></dc:creator><pubDate>Sat, 05 Oct 2013 09:59:05 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 10:46:08 GMT]]></title><description><![CDATA[<p>Was hat</p>
<p>DuffCola schrieb:</p>
<blockquote>
<p>mit C++ einen Compiler ansteuern, also Quellcode übersetzten</p>
</blockquote>
<p>mit</p>
<p>DuffCola schrieb:</p>
<blockquote>
<p>nen kleinen C++ Editor programmieren.</p>
</blockquote>
<p>zu tun?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358041</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358041</guid><dc:creator><![CDATA[Belli]]></dc:creator><pubDate>Sat, 05 Oct 2013 10:46:08 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 11:10:53 GMT]]></title><description><![CDATA[<p>Belli schrieb:</p>
<blockquote>
<p>Was hat</p>
<p>DuffCola schrieb:</p>
<blockquote>
<p>mit C++ einen Compiler ansteuern, also Quellcode übersetzten</p>
</blockquote>
<p>mit</p>
<p>DuffCola schrieb:</p>
<blockquote>
<p>nen kleinen C++ Editor programmieren.</p>
</blockquote>
<p>zu tun?</p>
</blockquote>
<p>Er will eine IDE schreiben und wissen, wie man ein externes Programm steuert, nämlich den Compiler. Was durchaus eine Frage ist, deren Antwort man wissen muss, um eine kleine IDE schreiben zu können. Wenn man aber die Antwort weder selber kennt, noch selber drauf kommt, dann wird man bei dem Vorhaben auf noch sehr viel schwierigere Probleme stoßen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358047</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358047</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Sat, 05 Oct 2013 11:10:53 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 11:12:32 GMT]]></title><description><![CDATA[<blockquote>
<p>Zitat:</p>
<p>wie kann man mit C++ einen Compiler ansteuern, also Quellcode übersetzten usw ?</p>
<p>Mit der Konsole? Dazu gibt es massenweise Tutorials im Internet. Googlen.</p>
</blockquote>
<p>Unter welchem Stichwort ?<br />
ich finde nix.</p>
<blockquote>
<p>Zitat:<br />
Ich würde mir nämlich gerne mal aus Spaß nen kleinen C++ Editor programmieren.</p>
<p>... Sicher, dass das kein zu groß geratenes Unterfangen ist?</p>
</blockquote>
<p>Du könntest recht haben, aber ich meine nur ein bisschien Quellcode übersetzetn und auszuführen lassen, kann ja nicht das Mega ding sein.<br />
ich rede ja jetzt von keiner Mega Super IDE die den Syntax usw Überprüft....</p>
<blockquote>
<p>Was hat<br />
DuffCola schrieb:<br />
mit C++ einen Compiler ansteuern, also Quellcode übersetzten</p>
<p>mit<br />
DuffCola schrieb:</p>
<p>nen kleinen C++ Editor programmieren.<br />
zu tun?</p>
</blockquote>
<p>Weil ich zum beispiel, den in meinem Editor eingegeben Text mit einem Klick compilieren und ausführen will.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358049</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358049</guid><dc:creator><![CDATA[DuffCola]]></dc:creator><pubDate>Sat, 05 Oct 2013 11:12:32 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 11:20:26 GMT]]></title><description><![CDATA[<p>DuffCola schrieb:</p>
<blockquote>
<p>wie kann man mit C++ einen Compiler ansteuern, also Quellcode übersetzten usw ?</p>
</blockquote>
<p>Den Compiler aufzurufen ist das geringste Problem.<br />
Hängt auch davon ab, welchen Compiler Du benutzt.</p>
<p>Viel viel schlimmer ist: Was willst Du mit den Ausgaben des Compilers machen?</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms682499%28VS.85%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358051</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358051</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sat, 05 Oct 2013 11:20:26 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 12:15:56 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<p>Belli schrieb:</p>
<blockquote>
<p>Was hat</p>
<p>DuffCola schrieb:</p>
<blockquote>
<p>mit C++ einen Compiler ansteuern, also Quellcode übersetzten</p>
</blockquote>
<p>mit</p>
<p>DuffCola schrieb:</p>
<blockquote>
<p>nen kleinen C++ Editor programmieren.</p>
</blockquote>
<p>zu tun?</p>
</blockquote>
<p>Er will eine IDE schreiben und wissen, wie man ein externes Programm steuert</p>
</blockquote>
<p>ist das nicht etwas völlig anderes, als einen Editor zu programmieren, oder meine ich das nur?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358064</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358064</guid><dc:creator><![CDATA[Belli]]></dc:creator><pubDate>Sat, 05 Oct 2013 12:15:56 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 12:29:54 GMT]]></title><description><![CDATA[<p>Dann hat er eben Editor und IDE vertauscht. War doch aus dem Kontext klar.</p>
<blockquote>
<p>Was willst Du mit den Ausgaben des Compilers machen?</p>
</blockquote>
<p>Anzeigen wäre wohl eine Möglichkeit. Und die Einfachste noch dazu.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358068</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358068</guid><dc:creator><![CDATA[Columbo]]></dc:creator><pubDate>Sat, 05 Oct 2013 12:29:54 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 12:42:36 GMT]]></title><description><![CDATA[<p>Belli schrieb:</p>
<blockquote>
<p>SeppJ schrieb:</p>
<blockquote>
<p>Er will eine IDE schreiben und wissen, wie man ein externes Programm steuert</p>
</blockquote>
<p>ist das nicht etwas völlig anderes, als einen Editor zu programmieren, oder meine ich das nur?</p>
</blockquote>
<p>Ich vermute mal, &quot;Editor&quot; heißt hier, irgendwas zusammenklicken aus einem GUI-Framework. Ein Textfeld und ein Button zum compilieren. Genaueres musst du vom TE erfragen. Falls es über diese Spekulation hinaus geht, dann ist das Projekt, wie schon von mehreren Stellen vermutet, wohl etwas zu ambitioniert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358077</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358077</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Sat, 05 Oct 2013 12:42:36 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 14:34:49 GMT]]></title><description><![CDATA[<p>Aslo, ja ich habe in dem Fall Editor mit einer IDE verwechselt.<br />
Gut so jetzt weiß jeder das ich von einer IDE rede.<br />
Was die Ausgaben angeht, ist es mir zunächst mal egal, ich will einfach nur etwas source Code übersetzten und ausführen lassem.<br />
Das ganze unter Windows 7 64 bit mit dem MinGW Compiler.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358112</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358112</guid><dc:creator><![CDATA[DuffCola]]></dc:creator><pubDate>Sat, 05 Oct 2013 14:34:49 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Sat, 05 Oct 2013 14:35:50 GMT]]></title><description><![CDATA[<p>Andere Compiler gehen auch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358113</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358113</guid><dc:creator><![CDATA[DuffCola]]></dc:creator><pubDate>Sat, 05 Oct 2013 14:35:50 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Mon, 07 Oct 2013 15:08:12 GMT]]></title><description><![CDATA[<p>ggf. das mal anschauen: <a href="http://www.ntu.edu.sg/home/ehchua/programming/cpp/gcc_make.html" rel="nofollow">http://www.ntu.edu.sg/home/ehchua/programming/cpp/gcc_make.html</a><br />
Make und so...<br />
Gruß Helmut</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358598</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358598</guid><dc:creator><![CDATA[Helmut.Jakoby]]></dc:creator><pubDate>Mon, 07 Oct 2013 15:08:12 GMT</pubDate></item><item><title><![CDATA[Reply to eigene C++ &amp;quot;IDE&amp;quot;&#x2F;Editor - Compiler ansteuern on Tue, 08 Oct 2013 11:19:28 GMT]]></title><description><![CDATA[<p>du solltest dich unter Windows mit der Windows API befassen.<br />
Hier ist für dich die Funktion <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx" rel="nofollow">CreateProcess</a> interessant.</p>
<p>Du legst für stdin, stdout und stderr Pipes an und reichst die an den Kindprozess (in deinem Fall an den Compiler) weiter.<br />
stdin brauchst du theoretisch nicht, da ein Compiler in der Regel keine Eingaben erwartet.<br />
stdout könnte interessant sein, muss aber nicht... kannst du also im Normalfall ignorieren.<br />
Auf Ausgaben in stderr (aus der Sicht deines Programmes sind das Eingaben) solltest du hingegen achten, da Compiler hier für gewöhnlich Warnungen und Fehler ausgeben.</p>
<p>Pipes anlegen geht mit <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa365152(v=vs.85).aspx" rel="nofollow">CreatePipe</a>.</p>
<p>Solltest du von alledem jetzt nur Bahnhof verstanden haben, würde ich dir raten, dich erstmal mit den Grundlagen der Windows API zu befassen.</p>
<p>Frameworks wie Qt4 können das aber auch wegabstrahieren. Mit boost.process geht oben beschriebenes ebenfalls plattformunabhängig, ist aber noch kein offizieller Teil von boost...</p>
<p>kommt halt auch drauf an, womit du den Editor machen willst... WinAPI/MFC/Qt/FLTK/GTK whatever</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2358841</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2358841</guid><dc:creator><![CDATA[DrakoXP]]></dc:creator><pubDate>Tue, 08 Oct 2013 11:19:28 GMT</pubDate></item></channel></rss>