<?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[VS &amp;quot;lokale funktionsdefinitionen sind ungültig&amp;quot;]]></title><description><![CDATA[<p>ich bin hier neu und hab auch noch net so die Erfahrung mit dem Visual Studio von Microsoft. Nun ich bekomme hier diese nette Fehlermeldung beim Compilieren:</p>
<p>error c2061:&quot;suchen&quot;:Lokale Funktionsdefinitionen sindungültig</p>
<p>die Funktion dazu schaut so aus:</p>
<pre><code>bool suchen(int x_wert, int y_wert)
{
	for (int i = 0; i &lt; arrayspeicherstelle; ++i) 
	{
    if (arrayXwert[i] == x_wert &amp;&amp; arrayYwert[i] == y_wert) 

        return true;
	}
	return false;

}
</code></pre>
<p>Was soll ich denn da ändern, was soll mir der Error bei der billigen Funktion da sagen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/121258/vs-quot-lokale-funktionsdefinitionen-sind-ungültig-quot</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 15:20:55 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/121258.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Sep 2005 13:56:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to VS &amp;quot;lokale funktionsdefinitionen sind ungültig&amp;quot; on Wed, 21 Sep 2005 13:56:52 GMT]]></title><description><![CDATA[<p>ich bin hier neu und hab auch noch net so die Erfahrung mit dem Visual Studio von Microsoft. Nun ich bekomme hier diese nette Fehlermeldung beim Compilieren:</p>
<p>error c2061:&quot;suchen&quot;:Lokale Funktionsdefinitionen sindungültig</p>
<p>die Funktion dazu schaut so aus:</p>
<pre><code>bool suchen(int x_wert, int y_wert)
{
	for (int i = 0; i &lt; arrayspeicherstelle; ++i) 
	{
    if (arrayXwert[i] == x_wert &amp;&amp; arrayYwert[i] == y_wert) 

        return true;
	}
	return false;

}
</code></pre>
<p>Was soll ich denn da ändern, was soll mir der Error bei der billigen Funktion da sagen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/877182</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/877182</guid><dc:creator><![CDATA[gast12]]></dc:creator><pubDate>Wed, 21 Sep 2005 13:56:52 GMT</pubDate></item><item><title><![CDATA[Reply to VS &amp;quot;lokale funktionsdefinitionen sind ungültig&amp;quot; on Wed, 21 Sep 2005 13:58:00 GMT]]></title><description><![CDATA[<p>Du hast irgendwo vor dieser Funktion eine '}' vergessen und somit steht diese Funktion syntaktisch noch in der vorhergehenden drin. Da es verboten ist, eine Funktion in einer anderen zu definieren gibt er einen Fehler aus.</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/877184</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/877184</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Wed, 21 Sep 2005 13:58:00 GMT</pubDate></item><item><title><![CDATA[Reply to VS &amp;quot;lokale funktionsdefinitionen sind ungültig&amp;quot; on Wed, 21 Sep 2005 13:58:33 GMT]]></title><description><![CDATA[<p>BTW: So ein Fehler scheint mir bei deiner Einrückungs-Strategie kein Wunder zu sein <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/877186</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/877186</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Wed, 21 Sep 2005 13:58:33 GMT</pubDate></item><item><title><![CDATA[Reply to VS &amp;quot;lokale funktionsdefinitionen sind ungültig&amp;quot; on Wed, 21 Sep 2005 14:02:39 GMT]]></title><description><![CDATA[<p>Okay, danke, ich hab jetzt das EInrücken auch übersichtlicher gestalltet. Thanks für die Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/877187</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/877187</guid><dc:creator><![CDATA[gast12]]></dc:creator><pubDate>Wed, 21 Sep 2005 14:02:39 GMT</pubDate></item></channel></rss>