<?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[Mehrere Variablen in For Schleife erstellen]]></title><description><![CDATA[<p>Hallo Forum,</p>
<p>ich habe schwach in Erinnerung das sowas in C++ ging:</p>
<pre><code class="language-cpp">for (int i=0, double j=7; i&lt;100; ++i) {
}
</code></pre>
<p>Wie kann man zwei unterschiedliche Variablen innerhalb des For Blockes definieren?</p>
<pre><code class="language-cpp">{
double j=7;//Dies will ich nicht.
for(...) {
}
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/265633/mehrere-variablen-in-for-schleife-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 03 Sep 2026 23:34:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/265633.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Apr 2010 16:16:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mehrere Variablen in For Schleife erstellen on Mon, 26 Apr 2010 16:16:30 GMT]]></title><description><![CDATA[<p>Hallo Forum,</p>
<p>ich habe schwach in Erinnerung das sowas in C++ ging:</p>
<pre><code class="language-cpp">for (int i=0, double j=7; i&lt;100; ++i) {
}
</code></pre>
<p>Wie kann man zwei unterschiedliche Variablen innerhalb des For Blockes definieren?</p>
<pre><code class="language-cpp">{
double j=7;//Dies will ich nicht.
for(...) {
}
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1888549</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1888549</guid><dc:creator><![CDATA[...]]></dc:creator><pubDate>Mon, 26 Apr 2010 16:16:30 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Variablen in For Schleife erstellen on Mon, 26 Apr 2010 16:19:53 GMT]]></title><description><![CDATA[<p>Die müssen vom selben Datentyp sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1888552</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1888552</guid><dc:creator><![CDATA[Kóyaánasqatsi]]></dc:creator><pubDate>Mon, 26 Apr 2010 16:19:53 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Variablen in For Schleife erstellen on Mon, 26 Apr 2010 16:20:50 GMT]]></title><description><![CDATA[<p>Naja gut, dann doch die zweite Lösung.<br />
Danke Kóyaánasqatsi <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1888554</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1888554</guid><dc:creator><![CDATA[...]]></dc:creator><pubDate>Mon, 26 Apr 2010 16:20:50 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Variablen in For Schleife erstellen on Mon, 26 Apr 2010 16:20:58 GMT]]></title><description><![CDATA[<p>Geht nicht. Ist meiner persönlichen Meinung nach auch schlechter Stil.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1888555</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1888555</guid><dc:creator><![CDATA[Janjan]]></dc:creator><pubDate>Mon, 26 Apr 2010 16:20:58 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Variablen in For Schleife erstellen on Mon, 26 Apr 2010 16:33:55 GMT]]></title><description><![CDATA[<p>Dir läuft man auch überall über den Weg. Bist Du zufällig ~fricky?<br />
Wenn ja, willkommen zurück <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1888564</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1888564</guid><dc:creator><![CDATA[...]]></dc:creator><pubDate>Mon, 26 Apr 2010 16:33:55 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Variablen in For Schleife erstellen on Mon, 26 Apr 2010 16:35:46 GMT]]></title><description><![CDATA[<p>Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1888566</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1888566</guid><dc:creator><![CDATA[Janjan]]></dc:creator><pubDate>Mon, 26 Apr 2010 16:35:46 GMT</pubDate></item></channel></rss>