<?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[max anzahl an elementen in der Konsole]]></title><description><![CDATA[<p>Tach,</p>
<p>Gibt es eine maximale anzahl an zeichen die untereinander auf der kosnole ausgegeben werden können? Ich hab nämlich folgendes Problem:</p>
<pre><code class="language-cpp">int main()
{
	int iarray[1001];
	for (int z = 0;z&lt;=1000;z++)
	{
		iarray[z]=z;
	}

	for(int i = 0;i&lt;=1000;++i)
	{

		cout&lt;&lt;iarray[i]&lt;&lt;endl;

	}

	system(&quot;Pause&quot;);
	return 0;
}
</code></pre>
<p>Es werden nich alle Elemente des Arrays ausgegeben, sondern nur die Zahlen von 702 bis 1000.<br />
Wie kann ich diese Begrenzung aufheben?</p>
<p>Vielen Dank!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/224048/max-anzahl-an-elementen-in-der-konsole</link><generator>RSS for Node</generator><lastBuildDate>Fri, 02 Oct 2026 21:42:47 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/224048.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Oct 2008 20:32:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to max anzahl an elementen in der Konsole on Sat, 04 Oct 2008 20:32:42 GMT]]></title><description><![CDATA[<p>Tach,</p>
<p>Gibt es eine maximale anzahl an zeichen die untereinander auf der kosnole ausgegeben werden können? Ich hab nämlich folgendes Problem:</p>
<pre><code class="language-cpp">int main()
{
	int iarray[1001];
	for (int z = 0;z&lt;=1000;z++)
	{
		iarray[z]=z;
	}

	for(int i = 0;i&lt;=1000;++i)
	{

		cout&lt;&lt;iarray[i]&lt;&lt;endl;

	}

	system(&quot;Pause&quot;);
	return 0;
}
</code></pre>
<p>Es werden nich alle Elemente des Arrays ausgegeben, sondern nur die Zahlen von 702 bis 1000.<br />
Wie kann ich diese Begrenzung aufheben?</p>
<p>Vielen Dank!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1593462</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1593462</guid><dc:creator><![CDATA[consoleHelp]]></dc:creator><pubDate>Sat, 04 Oct 2008 20:32:42 GMT</pubDate></item><item><title><![CDATA[Reply to max anzahl an elementen in der Konsole on Sat, 04 Oct 2008 21:05:12 GMT]]></title><description><![CDATA[<p>Entschuldigung, falscher Bereich Ich schreibs gleich nochmal ins Konsolen-Forum.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1593474</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1593474</guid><dc:creator><![CDATA[consoleHelp]]></dc:creator><pubDate>Sat, 04 Oct 2008 21:05:12 GMT</pubDate></item><item><title><![CDATA[Reply to max anzahl an elementen in der Konsole on Sat, 04 Oct 2008 21:13:00 GMT]]></title><description><![CDATA[<p>Du könntest die Ausgabe in eine Datei umlenken.<br />
Die Konsole schneidet die alten Ausgaben ab.</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;fstream&gt;
using namespace std;

int main()
{
    int iarray[1001];
    for (int z=0; z&lt;=1000; ++z)
        iarray[z]=z;

    ofstream File(&quot;ausgabe.txt&quot;);
    cout.rdbuf(File.rdbuf());

    for (int i=0; i&lt;=1000; ++i)
        cout &lt;&lt; iarray[i] &lt;&lt; endl;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1593479</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1593479</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Sat, 04 Oct 2008 21:13:00 GMT</pubDate></item></channel></rss>