<?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[error beim compilen]]></title><description><![CDATA[<p>hallöchen wie ihr seht bin ich neu und lern grad c++ mit gtem tutorial<br />
allerdings konnt ich meine test datei nicht compilen<br />
warum?<br />
sobald ich bei meinem compiler (visual c++2010) debuggen will kommt dies<br />
_________________________________________________________________________</p>
<p>1&gt;------ Erstellen gestartet: Projekt: lolol, Konfiguration: Debug Win32 ------<br />
1&gt;LINK : error LNK2001: Nicht aufgelöstes externes Symbol &quot;_mainCRTStartup&quot;.<br />
1&gt;c:\dokumente und einstellungen\admin\eigene dateien\visual studio 2010\Projects\lolol\Debug\lolol.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.<br />
======= Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen =======<br />
_________________________________________________________________________</p>
<p>bei diesem code</p>
<pre><code class="language-cpp">// Kapitel 1 - Programm 1 - KOMM.CPP

#include &lt;iostream&gt;	/* Das ist die Definitionsdatei für Ströme */

void drucke(const int Wert);

int main()
{
const int START = 3;		// Der Wert von START kann nicht verändert werden
const int STOPP = 9;		// Der Wert von STOPP kann nicht verändert werden
volatile int MITTE = 6;		/* Der Wert von MITTE kann von etwas
                                 verändert werden, das außerhalb dieses
                                 Programmes ist.                         */

int index;				/* Eine normale Variable in C */

   for (index = START ; index &lt; STOPP ; index++)
      drucke(index);

   return 0;
}	/* Ende des Programmes */

void drucke(const int Wert)
{
   std::cout &lt;&lt; &quot;Der Wert des Index ist  &quot; &lt;&lt; Wert &lt;&lt; &quot;\n&quot;;
}

// Ergebnis beim Ausführen
//
// Der Wert des Index ist  3
// Der Wert des Index ist  4
// Der Wert des Index ist  5
// Der Wert des Index ist  6
// Der Wert des Index ist  7
// Der Wert des Index ist  8
</code></pre>
<p>ich hoffe ihr könnt mir helfen</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/274209/error-beim-compilen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 27 Aug 2026 19:04:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/274209.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Sep 2010 16:27:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to error beim compilen on Tue, 21 Sep 2010 16:27:22 GMT]]></title><description><![CDATA[<p>hallöchen wie ihr seht bin ich neu und lern grad c++ mit gtem tutorial<br />
allerdings konnt ich meine test datei nicht compilen<br />
warum?<br />
sobald ich bei meinem compiler (visual c++2010) debuggen will kommt dies<br />
_________________________________________________________________________</p>
<p>1&gt;------ Erstellen gestartet: Projekt: lolol, Konfiguration: Debug Win32 ------<br />
1&gt;LINK : error LNK2001: Nicht aufgelöstes externes Symbol &quot;_mainCRTStartup&quot;.<br />
1&gt;c:\dokumente und einstellungen\admin\eigene dateien\visual studio 2010\Projects\lolol\Debug\lolol.exe : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.<br />
======= Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen =======<br />
_________________________________________________________________________</p>
<p>bei diesem code</p>
<pre><code class="language-cpp">// Kapitel 1 - Programm 1 - KOMM.CPP

#include &lt;iostream&gt;	/* Das ist die Definitionsdatei für Ströme */

void drucke(const int Wert);

int main()
{
const int START = 3;		// Der Wert von START kann nicht verändert werden
const int STOPP = 9;		// Der Wert von STOPP kann nicht verändert werden
volatile int MITTE = 6;		/* Der Wert von MITTE kann von etwas
                                 verändert werden, das außerhalb dieses
                                 Programmes ist.                         */

int index;				/* Eine normale Variable in C */

   for (index = START ; index &lt; STOPP ; index++)
      drucke(index);

   return 0;
}	/* Ende des Programmes */

void drucke(const int Wert)
{
   std::cout &lt;&lt; &quot;Der Wert des Index ist  &quot; &lt;&lt; Wert &lt;&lt; &quot;\n&quot;;
}

// Ergebnis beim Ausführen
//
// Der Wert des Index ist  3
// Der Wert des Index ist  4
// Der Wert des Index ist  5
// Der Wert des Index ist  6
// Der Wert des Index ist  7
// Der Wert des Index ist  8
</code></pre>
<p>ich hoffe ihr könnt mir helfen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1955496</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1955496</guid><dc:creator><![CDATA[B14ck0ut]]></dc:creator><pubDate>Tue, 21 Sep 2010 16:27:22 GMT</pubDate></item><item><title><![CDATA[Reply to error beim compilen on Tue, 21 Sep 2010 16:33:51 GMT]]></title><description><![CDATA[<p>Ich vermute, dass du bei den Projekteinstellungen unter Linker-&gt;System etwas falsches stehen hast.<br />
Probier mal: SUBSYSTEM:CONSOLE oder so ähnlich...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1955497</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1955497</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Tue, 21 Sep 2010 16:33:51 GMT</pubDate></item><item><title><![CDATA[Reply to error beim compilen on Tue, 21 Sep 2010 17:05:19 GMT]]></title><description><![CDATA[<p>daersc schrieb:</p>
<blockquote>
<p>Ich vermute, dass du bei den Projekteinstellungen unter Linker-&gt;System etwas falsches stehen hast.<br />
Probier mal: SUBSYSTEM:CONSOLE oder so ähnlich...</p>
</blockquote>
<p>Eigentlich beschwert er sich dann über fehlende WinMain falls ein Windows-Projekt eingestellt is, aber nen versuch isses wert.</p>
<p>@TE<br />
Finden tust Du das unter Projekteigenschaften -&gt; Linker -&gt; System, dann das oberste.<br />
rya.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1955508</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1955508</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Tue, 21 Sep 2010 17:05:19 GMT</pubDate></item><item><title><![CDATA[Reply to error beim compilen on Tue, 21 Sep 2010 17:08:17 GMT]]></title><description><![CDATA[<p>Scorcher24 schrieb:</p>
<blockquote>
<p>daersc schrieb:</p>
<blockquote>
<p>Ich vermute, dass du bei den Projekteinstellungen unter Linker-&gt;System etwas falsches stehen hast.<br />
Probier mal: SUBSYSTEM:CONSOLE oder so ähnlich...</p>
</blockquote>
<p>Eigentlich beschwert er sich dann über fehlende WinMain falls ein Windows-Projekt eingestellt is, aber nen versuch isses wert.</p>
</blockquote>
<p>Das Projekt ist kein Windows-Projekt mehr, wenn diese Option auf Console gestellt ist. Natürlich ist es überhaupt nicht die beste Lösung, ein Windows-Projekt zu erstellen, wenn man eigentlich blos die Konsole benötigt. Aber dann würde es zumindest funktionieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1955510</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1955510</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Tue, 21 Sep 2010 17:08:17 GMT</pubDate></item><item><title><![CDATA[Reply to error beim compilen on Tue, 21 Sep 2010 17:17:48 GMT]]></title><description><![CDATA[<p>daersc schrieb:</p>
<blockquote>
<p>Scorcher24 schrieb:</p>
<blockquote>
<p>daersc schrieb:</p>
<blockquote>
<p>Ich vermute, dass du bei den Projekteinstellungen unter Linker-&gt;System etwas falsches stehen hast.<br />
Probier mal: SUBSYSTEM:CONSOLE oder so ähnlich...</p>
</blockquote>
<p>Eigentlich beschwert er sich dann über fehlende WinMain falls ein Windows-Projekt eingestellt is, aber nen versuch isses wert.</p>
</blockquote>
<p>Das Projekt ist kein Windows-Projekt mehr, wenn diese Option auf Console gestellt ist. Natürlich ist es überhaupt nicht die beste Lösung, ein Windows-Projekt zu erstellen, wenn man eigentlich blos die Konsole benötigt. Aber dann würde es zumindest funktionieren.</p>
</blockquote>
<p>Ich meinte damit, dass wenn es jetzt zum Beispiel auf Windows eingestellt ist, dann würde er sich nicht über eine fehlende mainCRT() beschweren, sondern über die fehlende WinMain. Is auf jeden Fall komisch der Fehler weil es sollte so eigentlich anstandslos übersetzt werden.<br />
rya.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1955513</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1955513</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Tue, 21 Sep 2010 17:17:48 GMT</pubDate></item><item><title><![CDATA[Reply to error beim compilen on Tue, 21 Sep 2010 17:28:22 GMT]]></title><description><![CDATA[<p>CRT hört sich irgendwie mehr nach C++/CLI an, kann mich aber auch irren.</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1955516</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1955516</guid><dc:creator><![CDATA[theliquidwave]]></dc:creator><pubDate>Tue, 21 Sep 2010 17:28:22 GMT</pubDate></item><item><title><![CDATA[Reply to error beim compilen on Tue, 21 Sep 2010 17:34:00 GMT]]></title><description><![CDATA[<p>crt hat nix mit cli zu tun<br />
steht einfach nur für<br />
C RunTime</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1955520</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1955520</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Tue, 21 Sep 2010 17:34:00 GMT</pubDate></item><item><title><![CDATA[Reply to error beim compilen on Tue, 21 Sep 2010 17:34:04 GMT]]></title><description><![CDATA[<p>theliquidwave schrieb:</p>
<blockquote>
<p>CRT hört sich irgendwie mehr nach C++/CLI an, kann mich aber auch irren.</p>
</blockquote>
<p>Du irrst dich schwer. CRT ist die C Runtime Library.</p>
<p>Link zum Thema:<br />
<a href="http://msdn.microsoft.com/en-us/library/f9t8842e.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/f9t8842e.aspx</a></p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1955521</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1955521</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Tue, 21 Sep 2010 17:34:04 GMT</pubDate></item><item><title><![CDATA[Reply to error beim compilen on Tue, 21 Sep 2010 17:34:36 GMT]]></title><description><![CDATA[<p>theliquidwave schrieb:</p>
<blockquote>
<p>CRT hört sich irgendwie mehr nach C++/CLI an, kann mich aber auch irren.</p>
</blockquote>
<p>Du irrst dich.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1955523</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1955523</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Tue, 21 Sep 2010 17:34:36 GMT</pubDate></item></channel></rss>