<?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[Maximale Größe eines Arrays ?]]></title><description><![CDATA[<p>Hallo,</p>
<p>etwas völlig neues für mich war ein Ausführungsfehler bei folgender Zeile:</p>
<pre><code>byte array[7200][2][100]
</code></pre>
<p>anscheinend ist dem Compiler das array zu groß ?<br />
Compilieren tut er ... bricht dann aber gleich beim Programmstart in einer .asm ab.<br />
Was macht man für größere arrays ?<br />
Als Maximum hab ich jetzt [7200][2][5], wo ist die Grenze ?</p>
<p>Gruß<br />
thenoname</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/163487/maximale-größe-eines-arrays</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 02:00:44 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/163487.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Oct 2006 08:32:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Maximale Größe eines Arrays ? on Mon, 30 Oct 2006 08:33:20 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>etwas völlig neues für mich war ein Ausführungsfehler bei folgender Zeile:</p>
<pre><code>byte array[7200][2][100]
</code></pre>
<p>anscheinend ist dem Compiler das array zu groß ?<br />
Compilieren tut er ... bricht dann aber gleich beim Programmstart in einer .asm ab.<br />
Was macht man für größere arrays ?<br />
Als Maximum hab ich jetzt [7200][2][5], wo ist die Grenze ?</p>
<p>Gruß<br />
thenoname</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164260</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164260</guid><dc:creator><![CDATA[thenoname]]></dc:creator><pubDate>Mon, 30 Oct 2006 08:33:20 GMT</pubDate></item><item><title><![CDATA[Reply to Maximale Größe eines Arrays ? on Mon, 30 Oct 2006 08:35:56 GMT]]></title><description><![CDATA[<p>Ein Beitrag unter Dir ...</p>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-163485.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-163485.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164265</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164265</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Mon, 30 Oct 2006 08:35:56 GMT</pubDate></item><item><title><![CDATA[Reply to Maximale Größe eines Arrays ? on Mon, 30 Oct 2006 08:37:06 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>mit dynamischer Speicherverwaltung, um das Array nicht auf dm kleinen Stack, sonern auf dem viel größeren Heap anzulegen. Um das nicht selber machen zu müßen, bieten sich std::vector und struct an.<br />
Es gab in den letzten Tagen erst mehrere Threads zum Thema dynamische Arrays.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164267</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164267</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 30 Oct 2006 08:37:06 GMT</pubDate></item><item><title><![CDATA[Reply to Maximale Größe eines Arrays ? on Mon, 30 Oct 2006 08:42:18 GMT]]></title><description><![CDATA[<p>Ja sowas, ist das Gedankeninterface doch schon erfunden <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Aber die Auskunft weiter unten hat nicht viel Nährwert ...<br />
Ist dynamisch mit new ? oder nur mit vectoren ?<br />
Wenn ich also<br />
struct v1 {byte array[7200][2][100];}<br />
mache klappts ??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164270</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164270</guid><dc:creator><![CDATA[thenoname]]></dc:creator><pubDate>Mon, 30 Oct 2006 08:42:18 GMT</pubDate></item><item><title><![CDATA[Reply to Maximale Größe eines Arrays ? on Mon, 30 Oct 2006 10:07:24 GMT]]></title><description><![CDATA[<p>Dynamisch Speicher allokieren tut man mit new/new[]. Dieser muss dann wieder mit delete/delete[] wieder freigegeben werden. std::vector ist ein Container, welcher dir die Arbeit, die du mit new[] und delete[] hättest, abnimmt. vector ist einfach gemütlicher in der Verwendung, du musst dir keine Gedanken um das Umkopieren von Daten machen (Parameterübergabe oder einfach beim Einfügen oder Löschen von Informationen aus dem Array) und keine Gedanken um eventuell auftretende Speicherlecks.</p>
<p>Zu bevorzugen ist auf jedenfall std::vector.</p>
<p>Beispiel für dyn. Datenstrukturen (einfach mal damit du ein Beispiel für new/delete hast):<br />
<a href="http://www.willemer.de/informatik/cpp/dynamic.htm" rel="nofollow">http://www.willemer.de/informatik/cpp/dynamic.htm</a></p>
<p>Greetz</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164331</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164331</guid><dc:creator><![CDATA[Vellas]]></dc:creator><pubDate>Mon, 30 Oct 2006 10:07:24 GMT</pubDate></item><item><title><![CDATA[Reply to Maximale Größe eines Arrays ? on Mon, 30 Oct 2006 10:08:40 GMT]]></title><description><![CDATA[<p>Wenn denn schon 2 Themen mit exakt gleichem Titel vorhanden sind, wäre es hilfreicher wenn nur in einem Diksutiert wird, solche doppelposts mit doppelter Diskussion führen doch nur zur Verwirrung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164336</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164336</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Mon, 30 Oct 2006 10:08:40 GMT</pubDate></item><item><title><![CDATA[Reply to Maximale Größe eines Arrays ? on Mon, 30 Oct 2006 10:49:48 GMT]]></title><description><![CDATA[<p>Knuddlbaer schrieb:</p>
<blockquote>
<p>Wenn denn schon 2 Themen mit exakt gleichem Titel vorhanden sind, wäre es hilfreicher wenn nur in einem Diksutiert wird, solche doppelposts mit doppelter Diskussion führen doch nur zur Verwirrung.</p>
</blockquote>
<p>Dieser Beitrag wurde mit new erzeugt ... dann füge ich hier mal ein delete ein.<br />
Posten wir nur noch in dem, der 2 Minuten früher dranne war als ich ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164353</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164353</guid><dc:creator><![CDATA[thenoname]]></dc:creator><pubDate>Mon, 30 Oct 2006 10:49:48 GMT</pubDate></item></channel></rss>