<?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[string wird anscheinend nicht als solcher erkannt?!]]></title><description><![CDATA[<p>folgender code:</p>
<pre><code class="language-cpp">exitButton = SDL_Button(
		loadBmp(&quot;images/buttons/menu/normal.bmp&quot;),	// normal button image
		loadBmp(&quot;images/buttons/menu/hover.bmp&quot;),	// hover button image
		loadBmp(&quot;images/buttons/menu/pressed.bmp&quot;),	// pressed button image
		&quot;Quit&quot;,										// label
		&quot;arial.ttf&quot;,
		11,											// font
		white,										// font color
		Vektor(0,0),								// font alignment
		Vektor(950,0)								// button position
		);
</code></pre>
<blockquote>
<p>error C2665: &quot;SDL_Button::SDL_Button&quot;: Durch keine der 3 Überladungen konnten alle Argumenttypen konvertiert werden.<br />
1&gt; f:\projekte\coding\animals\sdl_button.h(17): kann 'SDL_Button::SDL_Button(SDL_SurfaceWrapper,SDL_SurfaceWrapper,SDL_SurfaceWrapper,std::string,std::string,Uint8,SDL_Color,Vektor,Vektor)' sein<br />
1&gt; bei Anpassung der Argumentliste '(SDL_SurfaceWrapper, SDL_SurfaceWrapper, SDL_SurfaceWrapper, const char [5], const char [10], int, Uint32, Vektor, Vektor)'</p>
</blockquote>
<p>wtf?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/231578/string-wird-anscheinend-nicht-als-solcher-erkannt</link><generator>RSS for Node</generator><lastBuildDate>Fri, 25 Sep 2026 20:26:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/231578.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Jan 2009 21:30:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to string wird anscheinend nicht als solcher erkannt?! on Mon, 12 Jan 2009 21:30:35 GMT]]></title><description><![CDATA[<p>folgender code:</p>
<pre><code class="language-cpp">exitButton = SDL_Button(
		loadBmp(&quot;images/buttons/menu/normal.bmp&quot;),	// normal button image
		loadBmp(&quot;images/buttons/menu/hover.bmp&quot;),	// hover button image
		loadBmp(&quot;images/buttons/menu/pressed.bmp&quot;),	// pressed button image
		&quot;Quit&quot;,										// label
		&quot;arial.ttf&quot;,
		11,											// font
		white,										// font color
		Vektor(0,0),								// font alignment
		Vektor(950,0)								// button position
		);
</code></pre>
<blockquote>
<p>error C2665: &quot;SDL_Button::SDL_Button&quot;: Durch keine der 3 Überladungen konnten alle Argumenttypen konvertiert werden.<br />
1&gt; f:\projekte\coding\animals\sdl_button.h(17): kann 'SDL_Button::SDL_Button(SDL_SurfaceWrapper,SDL_SurfaceWrapper,SDL_SurfaceWrapper,std::string,std::string,Uint8,SDL_Color,Vektor,Vektor)' sein<br />
1&gt; bei Anpassung der Argumentliste '(SDL_SurfaceWrapper, SDL_SurfaceWrapper, SDL_SurfaceWrapper, const char [5], const char [10], int, Uint32, Vektor, Vektor)'</p>
</blockquote>
<p>wtf?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1644177</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1644177</guid><dc:creator><![CDATA[pixartist]]></dc:creator><pubDate>Mon, 12 Jan 2009 21:30:35 GMT</pubDate></item><item><title><![CDATA[Reply to string wird anscheinend nicht als solcher erkannt?! on Mon, 12 Jan 2009 21:46:34 GMT]]></title><description><![CDATA[<p>include &lt;string&gt;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1644185</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1644185</guid><dc:creator><![CDATA[abcdefgh]]></dc:creator><pubDate>Mon, 12 Jan 2009 21:46:34 GMT</pubDate></item><item><title><![CDATA[Reply to string wird anscheinend nicht als solcher erkannt?! on Mon, 12 Jan 2009 21:50:38 GMT]]></title><description><![CDATA[<p>Die Strings dürften nicht das Problem sein. Aber SDL_Color ist meines Wissens ein struct, und du versuchst stattdessen ein Uint32 zu übergeben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1644187</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1644187</guid><dc:creator><![CDATA[dooooomi]]></dc:creator><pubDate>Mon, 12 Jan 2009 21:50:38 GMT</pubDate></item><item><title><![CDATA[Reply to string wird anscheinend nicht als solcher erkannt?! on Tue, 13 Jan 2009 08:46:41 GMT]]></title><description><![CDATA[<p>Ich denke auch, dass SDL_color das Problem ist. Die Konvertierung vom Uint32 geht z.Bsp. so<br />
<a href="http://lists.libsdl.org/pipermail/sdl-libsdl.org/2005-January/048562.html" rel="nofollow">http://lists.libsdl.org/pipermail/sdl-libsdl.org/2005-January/048562.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1644331</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1644331</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Tue, 13 Jan 2009 08:46:41 GMT</pubDate></item><item><title><![CDATA[Reply to string wird anscheinend nicht als solcher erkannt?! on Tue, 13 Jan 2009 09:23:32 GMT]]></title><description><![CDATA[<p>jop habt recht, danke hatte das übersehen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1644353</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1644353</guid><dc:creator><![CDATA[pixartist]]></dc:creator><pubDate>Tue, 13 Jan 2009 09:23:32 GMT</pubDate></item></channel></rss>