<?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[Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE]]></title><description><![CDATA[<p>Hi,</p>
<p>schon langsam bin ich verzweifelt, bin absoluter c++/vc newbie und eigentlich wollte ich nur ein erstes &quot;Hello World&quot; Programm zum laufen bringen. Aber ich bekomm es einfach nicht hin :(.</p>
<p>Wie erstellt man also bitte in VC++ ein einfaches C++Programm ?</p>
<p>bzw. wenn ich es in der Konsole per cc/gcc/lc versuche zu compilieren kommen auch nur Fehlermeldungen.</p>
<pre><code>#include &lt;iostream&gt;

int main()
{
    std::cout &lt;&lt; &quot;Hello, world!\n&quot;;
}
</code></pre>
<p>bzw. Konsole &quot;cc hallo.cpp&quot; liefert:</p>
<blockquote>
<p>/tmp/ccg5fveM.o(.text+0x25): In function <code>main': hallo.cpp: undefined reference to</code>std::cout'<br />
/tmp/ccg5fveM.o(.text+0x2a):hallo.cpp: undefined reference to <code>std::basic\_ostream&lt;char, std::char\_traits&lt;char&gt; &gt;&amp; std::operator&lt;&lt; &lt;std::char\_traits&lt;char&gt; &gt;(std::basic\_ostream&lt;char, std::char_traits&lt;char&gt; &gt;&amp;, char const*)' /tmp/ccg5fveM.o(.text+0x47): In function</code>__tcf_0':<br />
hallo.cpp: undefined reference to <code>std::ios_base::Init::~Init()' /tmp/ccg5fveM.o(.text+0x74): In function</code>__static_initialization_and_destruction_0(int, int)':<br />
hallo.cpp: undefined reference to <code>std::ios_base::Init::Init()' /tmp/ccg5fveM.o(.eh\_frame+0x11): undefined reference to</code>__gxx_personality_v0'<br />
collect2: ld gab 1 als Ende-Status zurück</p>
</blockquote>
<p>ICH BITTE UM HILFE !!</p>
<p>mfg,<br />
soad</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162305/microsoft-visual-c-2005-express-edition-newbie-frage</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Jul 2026 02:24:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162305.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Oct 2006 12:45:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Tue, 17 Oct 2006 12:46:57 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>schon langsam bin ich verzweifelt, bin absoluter c++/vc newbie und eigentlich wollte ich nur ein erstes &quot;Hello World&quot; Programm zum laufen bringen. Aber ich bekomm es einfach nicht hin :(.</p>
<p>Wie erstellt man also bitte in VC++ ein einfaches C++Programm ?</p>
<p>bzw. wenn ich es in der Konsole per cc/gcc/lc versuche zu compilieren kommen auch nur Fehlermeldungen.</p>
<pre><code>#include &lt;iostream&gt;

int main()
{
    std::cout &lt;&lt; &quot;Hello, world!\n&quot;;
}
</code></pre>
<p>bzw. Konsole &quot;cc hallo.cpp&quot; liefert:</p>
<blockquote>
<p>/tmp/ccg5fveM.o(.text+0x25): In function <code>main': hallo.cpp: undefined reference to</code>std::cout'<br />
/tmp/ccg5fveM.o(.text+0x2a):hallo.cpp: undefined reference to <code>std::basic\_ostream&lt;char, std::char\_traits&lt;char&gt; &gt;&amp; std::operator&lt;&lt; &lt;std::char\_traits&lt;char&gt; &gt;(std::basic\_ostream&lt;char, std::char_traits&lt;char&gt; &gt;&amp;, char const*)' /tmp/ccg5fveM.o(.text+0x47): In function</code>__tcf_0':<br />
hallo.cpp: undefined reference to <code>std::ios_base::Init::~Init()' /tmp/ccg5fveM.o(.text+0x74): In function</code>__static_initialization_and_destruction_0(int, int)':<br />
hallo.cpp: undefined reference to <code>std::ios_base::Init::Init()' /tmp/ccg5fveM.o(.eh\_frame+0x11): undefined reference to</code>__gxx_personality_v0'<br />
collect2: ld gab 1 als Ende-Status zurück</p>
</blockquote>
<p>ICH BITTE UM HILFE !!</p>
<p>mfg,<br />
soad</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156301</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156301</guid><dc:creator><![CDATA[soad]]></dc:creator><pubDate>Tue, 17 Oct 2006 12:46:57 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Tue, 17 Oct 2006 12:49:20 GMT]]></title><description><![CDATA[<p>ich glaube das das &quot;int&quot; vor main nicht ganz funzt, das du ja nichts zurücklieferst. mach mal nen &quot;void&quot; draus und probiers nochmal.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156305</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156305</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Tue, 17 Oct 2006 12:49:20 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Tue, 17 Oct 2006 13:00:09 GMT]]></title><description><![CDATA[<p>Mach mal:</p>
<pre><code class="language-cpp">#include &lt;tchar.h&gt;
#include &lt;iostream&gt;

int _tmain()
{
    std::cout &lt;&lt; &quot;Hello, world!\n&quot;;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1156311</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156311</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Tue, 17 Oct 2006 13:00:09 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Tue, 17 Oct 2006 13:00:20 GMT]]></title><description><![CDATA[<p>&quot;int main()&quot; ist schon richtig, aber möglicherweise versuchst du, das durch einen C-Compiler zu jagen. (was für Fehler meldet denn der VC?)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156312</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156312</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 17 Oct 2006 13:00:20 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Tue, 17 Oct 2006 13:39:11 GMT]]></title><description><![CDATA[<p>IMHO ist main nicht korrekt. Es müsste entweder _tmain heißen oder wmain, weil unter VC2005 alle Projekte als Unicode Projekte erzeugt werden.</p>
<p>Andere Frage wäre ob dieses Projekt &quot;Managed&quot; eingestellt ist oder &quot;Native&quot;, also wird die /CLR verwendet oder nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156350</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156350</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 17 Oct 2006 13:39:11 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Wed, 18 Oct 2006 08:21:15 GMT]]></title><description><![CDATA[<p>CStoll schrieb:</p>
<blockquote>
<p>&quot;int main()&quot; ist schon richtig, aber möglicherweise versuchst du, das durch einen C-Compiler zu jagen. (was für Fehler meldet denn der VC?)</p>
</blockquote>
<p>Also, wenn ich versuche den code zu &quot;builden&quot;, dann bekomme ich:</p>
<blockquote>
<p>Linking...<br />
MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup<br />
hello.exe : fatal error LNK1120: 1 unresolved externals</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1156802</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156802</guid><dc:creator><![CDATA[soad]]></dc:creator><pubDate>Wed, 18 Oct 2006 08:21:15 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Wed, 18 Oct 2006 08:25:10 GMT]]></title><description><![CDATA[<p>Martin Richter schrieb:</p>
<blockquote>
<p>IMHO ist main nicht korrekt. Es müsste entweder _tmain heißen oder wmain, weil unter VC2005 alle Projekte als Unicode Projekte erzeugt werden.</p>
<p>Andere Frage wäre ob dieses Projekt &quot;Managed&quot; eingestellt ist oder &quot;Native&quot;, also wird die /CLR verwendet oder nicht.</p>
</blockquote>
<p>Wie sehe ich das? bin halt leider noch ein newbie :(...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156808</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156808</guid><dc:creator><![CDATA[soad]]></dc:creator><pubDate>Wed, 18 Oct 2006 08:25:10 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Wed, 18 Oct 2006 10:21:00 GMT]]></title><description><![CDATA[<p>anscheinend fehlen mir die sdl.lib, sdlmain.lib. wie komme ich zu denen bzw. wie muss ich die in meinem projekt verlinken ??</p>
<p>sg,<br />
soad</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156941</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156941</guid><dc:creator><![CDATA[soad]]></dc:creator><pubDate>Wed, 18 Oct 2006 10:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Wed, 18 Oct 2006 10:39:38 GMT]]></title><description><![CDATA[<p>RTFM..</p>
<p>Project -&gt; Properties -&gt; Linker -&gt; Additional Dependencies -&gt; Files reinschreiben</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156951</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156951</guid><dc:creator><![CDATA[THX 1138]]></dc:creator><pubDate>Wed, 18 Oct 2006 10:39:38 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Wed, 18 Oct 2006 14:12:55 GMT]]></title><description><![CDATA[<p>hi,</p>
<p>anscheinend hab ich diese files gar nicht. muss ich noch zusätzlich das Server 2003 SDK installieren?</p>
<p>mfg,<br />
soad</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156965</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156965</guid><dc:creator><![CDATA[soad]]></dc:creator><pubDate>Wed, 18 Oct 2006 14:12:55 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Wed, 18 Oct 2006 12:37:42 GMT]]></title><description><![CDATA[<p>SDL != SDK</p>
<p><a href="http://Google.de" rel="nofollow">Google.de</a> -&gt; SDL -&gt; Download -&gt; bla</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157062</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157062</guid><dc:creator><![CDATA[THX 1138]]></dc:creator><pubDate>Wed, 18 Oct 2006 12:37:42 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Wed, 18 Oct 2006 22:57:14 GMT]]></title><description><![CDATA[<p>Danke, jetzt hab ich es zumindestens einmal geschafft, dass der Compiler nicht aufschreit, aber wenn ich die Applikation starten will, schreit er er kann die foo.exe Datei nicht finden:(.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157362</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157362</guid><dc:creator><![CDATA[soad]]></dc:creator><pubDate>Wed, 18 Oct 2006 22:57:14 GMT</pubDate></item><item><title><![CDATA[Reply to Microsoft Visual C++ 2005 Express Edition NEWBIE FRAGE on Thu, 19 Oct 2006 01:38:39 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">int main(int argc, char** arcv)
{
}
</code></pre>
<p>Das ist nach meinem Kenntnisstand korrektes C++. Bei main() muss man nichts &quot;return&quot;en, obwohl der Typ des Returnwert &quot;int&quot; sein muss. Ist natürlich etwas pervers bzw. seltsam, aber naja.</p>
<p>BTW:</p>
<pre><code class="language-cpp">int main() {}
</code></pre>
<p>ist soweit ich weiss auch erlaubt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157373</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157373</guid><dc:creator><![CDATA[Plotzenhotz]]></dc:creator><pubDate>Thu, 19 Oct 2006 01:38:39 GMT</pubDate></item></channel></rss>