<?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[Troubles mit statischen Methoden]]></title><description><![CDATA[<p>Hallo!</p>
<p>Zuerst mal der code:</p>
<pre><code class="language-cpp">static void keyboard_CB(unsigned char key, int x, int y);

	static void keyboard_up_CB(unsigned char key, int x, int y);

	static void reshape_CB(int w,int h);

	static void render_CB(void);

	static void special_keys_up_CB(int key, int x, int y);

	static void special_keys_CB(int a_keys, int x, int y);

	static void idle_function_CB(void);

	static void mousefunc_CB(int button, int state, int x, int y);

	static void motionfunc_CB(int x, int y);

	static void passivemotionfunc_CB(int x, int y);
</code></pre>
<p>Komischerweise bekomme ich immer ein &quot;Nicht aufgelöstes externes Symbol&quot; in &quot;motionfunc_CB&quot; und &quot;passivemotionfunc_CB&quot;.<br />
Wenn ich die parameter der beiden methoden z.b. jeweils auf void (&quot;motionfunc_CB(void)&quot;) setze, dann geht es.</p>
<p>Woran liegt das?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/135769/troubles-mit-statischen-methoden</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 03:32:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/135769.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Feb 2006 19:17:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Troubles mit statischen Methoden on Sat, 04 Feb 2006 19:17:35 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Zuerst mal der code:</p>
<pre><code class="language-cpp">static void keyboard_CB(unsigned char key, int x, int y);

	static void keyboard_up_CB(unsigned char key, int x, int y);

	static void reshape_CB(int w,int h);

	static void render_CB(void);

	static void special_keys_up_CB(int key, int x, int y);

	static void special_keys_CB(int a_keys, int x, int y);

	static void idle_function_CB(void);

	static void mousefunc_CB(int button, int state, int x, int y);

	static void motionfunc_CB(int x, int y);

	static void passivemotionfunc_CB(int x, int y);
</code></pre>
<p>Komischerweise bekomme ich immer ein &quot;Nicht aufgelöstes externes Symbol&quot; in &quot;motionfunc_CB&quot; und &quot;passivemotionfunc_CB&quot;.<br />
Wenn ich die parameter der beiden methoden z.b. jeweils auf void (&quot;motionfunc_CB(void)&quot;) setze, dann geht es.</p>
<p>Woran liegt das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986014</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986014</guid><dc:creator><![CDATA[pixsta]]></dc:creator><pubDate>Sat, 04 Feb 2006 19:17:35 GMT</pubDate></item><item><title><![CDATA[Reply to Troubles mit statischen Methoden on Sat, 04 Feb 2006 20:13:58 GMT]]></title><description><![CDATA[<p>Sieht so aus als wolltest du die statischen Funktionen in einer anderen Übersetzungseinheit verwenden als wo sie definiert sind.<br />
Frage warum machst du sie dann statisch ?<br />
Kurt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/986054</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/986054</guid><dc:creator><![CDATA[ZuK]]></dc:creator><pubDate>Sat, 04 Feb 2006 20:13:58 GMT</pubDate></item></channel></rss>