<?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[Übergabe eines Arrays an eine Funktion]]></title><description><![CDATA[<p>Wie kann ich ein Array an eine Funktion übergeben?</p>
<pre><code>int werte [10] = {0,1,2,3,4,5,6,7,8,9};

(…)

void funktion (int werte[10])
{
 blabla
 blabla
}
</code></pre>
<p>So funktioniert es schon mal nicht…</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/148333/übergabe-eines-arrays-an-eine-funktion</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 15:26:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/148333.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 May 2006 16:13:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Übergabe eines Arrays an eine Funktion on Thu, 25 May 2006 16:13:57 GMT]]></title><description><![CDATA[<p>Wie kann ich ein Array an eine Funktion übergeben?</p>
<pre><code>int werte [10] = {0,1,2,3,4,5,6,7,8,9};

(…)

void funktion (int werte[10])
{
 blabla
 blabla
}
</code></pre>
<p>So funktioniert es schon mal nicht…</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1064997</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1064997</guid><dc:creator><![CDATA[Alexander Rahm]]></dc:creator><pubDate>Thu, 25 May 2006 16:13:57 GMT</pubDate></item><item><title><![CDATA[Reply to Übergabe eines Arrays an eine Funktion on Thu, 25 May 2006 16:26:29 GMT]]></title><description><![CDATA[<p>Lass die Zahl des Funktionsparameters weg.<br />
Dann einfach aufrufen:</p>
<pre><code class="language-cpp">funktion(werte);
</code></pre>
<p>Du kannst auch einfach einen Zeiger als Parameter benutzen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1065006</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1065006</guid><dc:creator><![CDATA[Tipp]]></dc:creator><pubDate>Thu, 25 May 2006 16:26:29 GMT</pubDate></item></channel></rss>