<?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[array als rückgabewert]]></title><description><![CDATA[<p>ich möchte in einer klasse B auf ein array einer Klasse A zugreifen.<br />
dazu hatte ich eine GetMethode angedacht.<br />
nur:</p>
<pre><code class="language-cpp">int GetArray()
	{
		return Array[];
	}
</code></pre>
<p>und ähnliche versuche mit int[], etc. tun es leider nicht.<br />
wie kann ich das machen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/119499/array-als-rückgabewert</link><generator>RSS for Node</generator><lastBuildDate>Fri, 21 Aug 2026 22:22:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/119499.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Sep 2005 14:40:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to array als rückgabewert on Thu, 01 Sep 2005 14:40:51 GMT]]></title><description><![CDATA[<p>ich möchte in einer klasse B auf ein array einer Klasse A zugreifen.<br />
dazu hatte ich eine GetMethode angedacht.<br />
nur:</p>
<pre><code class="language-cpp">int GetArray()
	{
		return Array[];
	}
</code></pre>
<p>und ähnliche versuche mit int[], etc. tun es leider nicht.<br />
wie kann ich das machen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862871</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862871</guid><dc:creator><![CDATA[asr]]></dc:creator><pubDate>Thu, 01 Sep 2005 14:40:51 GMT</pubDate></item><item><title><![CDATA[Reply to array als rückgabewert on Thu, 01 Sep 2005 14:44:09 GMT]]></title><description><![CDATA[<p>Du kannst kein Array zurueckgeben, stattdessen kannst du einen Zeiger auf das Array zurueckgeben</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862875</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862875</guid><dc:creator><![CDATA[PunI*0R]]></dc:creator><pubDate>Thu, 01 Sep 2005 14:44:09 GMT</pubDate></item><item><title><![CDATA[Reply to array als rückgabewert on Thu, 01 Sep 2005 14:49:12 GMT]]></title><description><![CDATA[<p>tatsache, so gehts.</p>
<pre><code class="language-cpp">int* GetArray()
{
	return Array;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/862885</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862885</guid><dc:creator><![CDATA[asr]]></dc:creator><pubDate>Thu, 01 Sep 2005 14:49:12 GMT</pubDate></item></channel></rss>