<?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[Tutorialaufgabe 3.5]]></title><description><![CDATA[<p>Bitte die Lösungsvorschläge posten!!!!<br />
Ich kapier die Aufgabe 3.5 aus dem gezippten Tutorial (1) nicht so ganz....</p>
<p>Mein Code dazu...</p>
<pre><code class="language-cpp">:confused: 
#include &lt;iostream&gt;
#include &lt;math.h&gt;
using namespace std;

#define xanf            2
#define xend            8       
#define n               1000
#define delta_x         ((xend-xanf)/n)
double x;
double delta_x=((xend-xanf)/n);
int main(int na=0)
{
    for(x=2.; na!=n&amp;&amp;xanf&lt;=x&amp;&amp;x&lt;=xend; x=x+delta_x)
    {
              na++;
              cout &lt;&lt; na &lt;&lt; &quot; _- &quot; &lt;&lt; x &lt;&lt; &quot;\n&quot;;
    }

    system(&quot;PAUSE&quot;);
    return 0;
}
</code></pre>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/173089/tutorialaufgabe-3-5</link><generator>RSS for Node</generator><lastBuildDate>Fri, 18 Sep 2026 03:28:02 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/173089.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Feb 2007 20:21:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tutorialaufgabe 3.5 on Sun, 11 Feb 2007 20:21:07 GMT]]></title><description><![CDATA[<p>Bitte die Lösungsvorschläge posten!!!!<br />
Ich kapier die Aufgabe 3.5 aus dem gezippten Tutorial (1) nicht so ganz....</p>
<p>Mein Code dazu...</p>
<pre><code class="language-cpp">:confused: 
#include &lt;iostream&gt;
#include &lt;math.h&gt;
using namespace std;

#define xanf            2
#define xend            8       
#define n               1000
#define delta_x         ((xend-xanf)/n)
double x;
double delta_x=((xend-xanf)/n);
int main(int na=0)
{
    for(x=2.; na!=n&amp;&amp;xanf&lt;=x&amp;&amp;x&lt;=xend; x=x+delta_x)
    {
              na++;
              cout &lt;&lt; na &lt;&lt; &quot; _- &quot; &lt;&lt; x &lt;&lt; &quot;\n&quot;;
    }

    system(&quot;PAUSE&quot;);
    return 0;
}
</code></pre>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1227063</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1227063</guid><dc:creator><![CDATA[Tutorial]]></dc:creator><pubDate>Sun, 11 Feb 2007 20:21:07 GMT</pubDate></item><item><title><![CDATA[Reply to Tutorialaufgabe 3.5 on Sun, 11 Feb 2007 20:58:23 GMT]]></title><description><![CDATA[<p>Was für ein Tutorial?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1227081</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1227081</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Sun, 11 Feb 2007 20:58:23 GMT</pubDate></item></channel></rss>