<?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[Problem mit argc]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir einer auf die Srünge helfen, warum ich bei argc in dieser Main nichts übergeben bekomme?</p>
<pre><code class="language-cpp">int main(int argc, char **argv) 
{ 
	int i;
	int ArraySize = 1000;
	na::ALMap *StatesList[ArraySize];
	na::ALMap Flow[ArraySize];
	for (i=0;i&lt;((int) sizeof(StatesList));i++)
	  StatesList[i] = &amp;Flow[i];
	std::printf(&quot;argc= %d\n&quot;,argc);
  return 0;
}
</code></pre>
<p>Es hatte mal eine zeitlang funktioniert. Warum es denn jetzt nicht mehr geht, ist eben die Frage :-).</p>
<p>Gruß und Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/209554/problem-mit-argc</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 17:35:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/209554.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Apr 2008 05:20:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit argc on Tue, 01 Apr 2008 05:20:50 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir einer auf die Srünge helfen, warum ich bei argc in dieser Main nichts übergeben bekomme?</p>
<pre><code class="language-cpp">int main(int argc, char **argv) 
{ 
	int i;
	int ArraySize = 1000;
	na::ALMap *StatesList[ArraySize];
	na::ALMap Flow[ArraySize];
	for (i=0;i&lt;((int) sizeof(StatesList));i++)
	  StatesList[i] = &amp;Flow[i];
	std::printf(&quot;argc= %d\n&quot;,argc);
  return 0;
}
</code></pre>
<p>Es hatte mal eine zeitlang funktioniert. Warum es denn jetzt nicht mehr geht, ist eben die Frage :-).</p>
<p>Gruß und Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1484149</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1484149</guid><dc:creator><![CDATA[Emmerell]]></dc:creator><pubDate>Tue, 01 Apr 2008 05:20:50 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit argc on Tue, 01 Apr 2008 07:12:55 GMT]]></title><description><![CDATA[<p>Was heißt &quot;nichts&quot;? 0 ist nicht &quot;nichts&quot;. Gibt er 0 aus?</p>
<p>Tut er das auch vor der Schleife? Wie sieht es aus wenn du C++-IO benutzt und nicht den C-Kram?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1484185</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1484185</guid><dc:creator><![CDATA[Fellhuhn]]></dc:creator><pubDate>Tue, 01 Apr 2008 07:12:55 GMT</pubDate></item></channel></rss>