<?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[[c++] talent?]]></title><description><![CDATA[<p>Guten Morgen liebe Community. Hmm ich bin irgendwie frustriert weill einfach nichts klappt mit C++.<br />
Ich hab jetzt alles durch mit C++ ausser Klassen und fortgeschrittene Themen wie stl.... Wenn ich mir jetzt diesen Code hier anschaue:</p>
<p>}</p>
<p>#include &quot;..\..\include\hge.h&quot;</p>
<p>HGE *hge = 0;</p>
<p>// This function will be called by HGE once per frame.<br />
// Put your game loop code here. In this example we<br />
// just check whether ESC key has been pressed.<br />
bool FrameFunc()<br />
{<br />
// By returning &quot;true&quot; we tell HGE<br />
// to stop running the application.<br />
if (hge-&gt;Input_GetKeyState(HGEK_ESCAPE)) return true;</p>
<p>// Continue execution<br />
return false;<br />
}</p>
<p>int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)<br />
{<br />
// Here we use global pointer to HGE interface.<br />
// Instead you may use hgeCreate() every<br />
// time you need access to HGE. Just be sure to<br />
// have a corresponding hge-&gt;Release()<br />
// for each call to hgeCreate()<br />
hge = hgeCreate(HGE_VERSION);</p>
<p>// Set our frame function<br />
hge-&gt;System_SetState(HGE_FRAMEFUNC, FrameFunc);</p>
<p>// Set the window title<br />
hge-&gt;System_SetState(HGE_TITLE, &quot;HGE Tutorial 01 - Minimal HGE application&quot;);</p>
<p>// Run in windowed mode<br />
// Default window size is 800x600<br />
hge-&gt;System_SetState(HGE_WINDOWED, true);</p>
<p>// Don't use BASS for sound<br />
hge-&gt;System_SetState(HGE_USESOUND, false);</p>
<p>// Tries to initiate HGE with the states set.<br />
// If something goes wrong, &quot;false&quot; is returned<br />
// and more specific description of what have<br />
// happened can be read with System_GetErrorMessage().<br />
if(hge-&gt;System_Initiate())<br />
{<br />
// Starts running FrameFunc().<br />
// Note that the execution &quot;stops&quot; here<br />
// until &quot;true&quot; is returned from FrameFunc().<br />
hge-&gt;System_Start();<br />
}<br />
else<br />
{<br />
// If HGE initialization failed show error message<br />
MessageBox(NULL, hge-&gt;System_GetErrorMessage(), &quot;Error&quot;, MB_OK | MB_ICONERROR | MB_APPLMODAL);<br />
}</p>
<p>// Now ESC has been pressed or the user<br />
// has closed the window by other means.</p>
<p>// Restore video mode and free<br />
// all allocated resources<br />
hge-&gt;System_Shutdown();</p>
<p>// Release the HGE interface.<br />
// If there are no more references,<br />
// the HGE object will be deleted.<br />
hge-&gt;Release();</p>
<p>return 0;<br />
}</p>
<p>..kapier ich fast nix ausser vielleicht include und instanzen..<br />
aber mehr auch nicht.<br />
Brauch man fürs programmieren talent und ich hab das nicht?<br />
C++ ist die einzige Sprache die ich kann d.h. das ich direkt mit c++ eingestiegen bin.</p>
<p>MfG<br />
amidamaru</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/171633/c-talent</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Jul 2026 11:16:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/171633.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Jan 2007 17:18:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [c++] talent? on Sat, 27 Jan 2007 17:18:29 GMT]]></title><description><![CDATA[<p>Guten Morgen liebe Community. Hmm ich bin irgendwie frustriert weill einfach nichts klappt mit C++.<br />
Ich hab jetzt alles durch mit C++ ausser Klassen und fortgeschrittene Themen wie stl.... Wenn ich mir jetzt diesen Code hier anschaue:</p>
<p>}</p>
<p>#include &quot;..\..\include\hge.h&quot;</p>
<p>HGE *hge = 0;</p>
<p>// This function will be called by HGE once per frame.<br />
// Put your game loop code here. In this example we<br />
// just check whether ESC key has been pressed.<br />
bool FrameFunc()<br />
{<br />
// By returning &quot;true&quot; we tell HGE<br />
// to stop running the application.<br />
if (hge-&gt;Input_GetKeyState(HGEK_ESCAPE)) return true;</p>
<p>// Continue execution<br />
return false;<br />
}</p>
<p>int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)<br />
{<br />
// Here we use global pointer to HGE interface.<br />
// Instead you may use hgeCreate() every<br />
// time you need access to HGE. Just be sure to<br />
// have a corresponding hge-&gt;Release()<br />
// for each call to hgeCreate()<br />
hge = hgeCreate(HGE_VERSION);</p>
<p>// Set our frame function<br />
hge-&gt;System_SetState(HGE_FRAMEFUNC, FrameFunc);</p>
<p>// Set the window title<br />
hge-&gt;System_SetState(HGE_TITLE, &quot;HGE Tutorial 01 - Minimal HGE application&quot;);</p>
<p>// Run in windowed mode<br />
// Default window size is 800x600<br />
hge-&gt;System_SetState(HGE_WINDOWED, true);</p>
<p>// Don't use BASS for sound<br />
hge-&gt;System_SetState(HGE_USESOUND, false);</p>
<p>// Tries to initiate HGE with the states set.<br />
// If something goes wrong, &quot;false&quot; is returned<br />
// and more specific description of what have<br />
// happened can be read with System_GetErrorMessage().<br />
if(hge-&gt;System_Initiate())<br />
{<br />
// Starts running FrameFunc().<br />
// Note that the execution &quot;stops&quot; here<br />
// until &quot;true&quot; is returned from FrameFunc().<br />
hge-&gt;System_Start();<br />
}<br />
else<br />
{<br />
// If HGE initialization failed show error message<br />
MessageBox(NULL, hge-&gt;System_GetErrorMessage(), &quot;Error&quot;, MB_OK | MB_ICONERROR | MB_APPLMODAL);<br />
}</p>
<p>// Now ESC has been pressed or the user<br />
// has closed the window by other means.</p>
<p>// Restore video mode and free<br />
// all allocated resources<br />
hge-&gt;System_Shutdown();</p>
<p>// Release the HGE interface.<br />
// If there are no more references,<br />
// the HGE object will be deleted.<br />
hge-&gt;Release();</p>
<p>return 0;<br />
}</p>
<p>..kapier ich fast nix ausser vielleicht include und instanzen..<br />
aber mehr auch nicht.<br />
Brauch man fürs programmieren talent und ich hab das nicht?<br />
C++ ist die einzige Sprache die ich kann d.h. das ich direkt mit c++ eingestiegen bin.</p>
<p>MfG<br />
amidamaru</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1218183</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1218183</guid><dc:creator><![CDATA[amidamaru]]></dc:creator><pubDate>Sat, 27 Jan 2007 17:18:29 GMT</pubDate></item><item><title><![CDATA[Reply to [c++] talent? on Sat, 27 Jan 2007 17:21:26 GMT]]></title><description><![CDATA[<p>hm, lol, den code versteh sogar ich und ich bin nichmal c++ programmierer.<br />
vielleicht solltest du dir mal ne andere sprache zum programmieren lernen anschauen. pascal oder python oder so.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1218186</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1218186</guid><dc:creator><![CDATA[schlaumax]]></dc:creator><pubDate>Sat, 27 Jan 2007 17:21:26 GMT</pubDate></item><item><title><![CDATA[Reply to [c++] talent? on Sat, 27 Jan 2007 17:59:23 GMT]]></title><description><![CDATA[<p>Was gibts da zu kapieren? Du weißt was Funktionen sind, du weißt was Zeiger sind und du weißt was Klassen sind. Sicher dass du Probleme hast den Code zu verstehen?<br />
Was die Funktionsaufrufe machen steht doch in den Kommentaren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1218218</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1218218</guid><dc:creator><![CDATA[lolz]]></dc:creator><pubDate>Sat, 27 Jan 2007 17:59:23 GMT</pubDate></item><item><title><![CDATA[Reply to [c++] talent? on Sat, 27 Jan 2007 18:06:06 GMT]]></title><description><![CDATA[<p>Ich schätze mal das Posting ist aus einem anderen Forum kopiert sonst würde da nicht um 18 Uhr &quot;Guten Morgen&quot; stehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1218224</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1218224</guid><dc:creator><![CDATA[busted]]></dc:creator><pubDate>Sat, 27 Jan 2007 18:06:06 GMT</pubDate></item></channel></rss>