<?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[Brauche Hilfe bei meinem Programm, das will nich wies soll]]></title><description><![CDATA[<p>is bestimmt irgend ein dummer fehler...<br />
#include &quot;stdafx.h&quot;<br />
#include &lt;iostream&gt;<br />
#include &lt;conio.h&gt;<br />
#include &lt;cmath&gt;</p>
<p>using namespace std;</p>
<p>void funktion(int , int );<br />
void ableitung(int, int);<br />
void eingabe(int, int);<br />
void ausgabe(int &amp;);</p>
<p>// 1 - Definieren Sie einen Datenverbund &quot;funktion&quot;, welcher fuer eine Funktion y=f(x)=ax^n<br />
// die Variable a und n enthält.<br />
void funktion()<br />
{<br />
int a;<br />
int n;<br />
}<br />
// 2 - Definieren Sie einen zweiten Datenverbund &quot;ableitung&quot;, der fuer die abgeleitete Funktion<br />
// y'=f(x)=bx^m die Werte fuer b und m enthält.<br />
void ableitung()<br />
{<br />
int b;<br />
int m;<br />
}<br />
//3 - Entwickeln Sie fuer Instanzen von &quot;funktion&quot; eine Funktion zur Eingabe der Daten.<br />
void eingabe()<br />
{<br />
int x, a, n;</p>
<p>cout&lt;&lt;&quot;a eingeben: &quot;; cin&gt;&gt;a;<br />
cout&lt;&lt;&quot;\nx eingeben: &quot;; cin&gt;&gt;x;<br />
cout&lt;&lt;&quot;\nn eingeben: &quot;; cin&gt;&gt;n;<br />
}<br />
//4 - Entwickeln Sie fuer Instanzen von &quot;ableitung&quot; eine Funktion zur Ausgabe der Daten.<br />
void ausgabe(int &amp;y)<br />
{<br />
cout&lt;&lt;y;<br />
}</p>
<p>//5 - Entwickeln Sie eine Funktion &quot;rechnen&quot;, die<br />
int _tmain(int argc, _TCHAR* argv[])<br />
{<br />
int a=0,n=0,b=0,m=0,y;</p>
<p>funktion();<br />
ableitung();<br />
eingabe();<br />
ausgabe(y);</p>
<p>_getch();<br />
return 0;<br />
}</p>
<p>//wäre nett wenn ihr mir helfen könntet!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/303561/brauche-hilfe-bei-meinem-programm-das-will-nich-wies-soll</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 11:08:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/303561.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 May 2012 07:19:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Brauche Hilfe bei meinem Programm, das will nich wies soll on Thu, 17 May 2012 07:19:34 GMT]]></title><description><![CDATA[<p>is bestimmt irgend ein dummer fehler...<br />
#include &quot;stdafx.h&quot;<br />
#include &lt;iostream&gt;<br />
#include &lt;conio.h&gt;<br />
#include &lt;cmath&gt;</p>
<p>using namespace std;</p>
<p>void funktion(int , int );<br />
void ableitung(int, int);<br />
void eingabe(int, int);<br />
void ausgabe(int &amp;);</p>
<p>// 1 - Definieren Sie einen Datenverbund &quot;funktion&quot;, welcher fuer eine Funktion y=f(x)=ax^n<br />
// die Variable a und n enthält.<br />
void funktion()<br />
{<br />
int a;<br />
int n;<br />
}<br />
// 2 - Definieren Sie einen zweiten Datenverbund &quot;ableitung&quot;, der fuer die abgeleitete Funktion<br />
// y'=f(x)=bx^m die Werte fuer b und m enthält.<br />
void ableitung()<br />
{<br />
int b;<br />
int m;<br />
}<br />
//3 - Entwickeln Sie fuer Instanzen von &quot;funktion&quot; eine Funktion zur Eingabe der Daten.<br />
void eingabe()<br />
{<br />
int x, a, n;</p>
<p>cout&lt;&lt;&quot;a eingeben: &quot;; cin&gt;&gt;a;<br />
cout&lt;&lt;&quot;\nx eingeben: &quot;; cin&gt;&gt;x;<br />
cout&lt;&lt;&quot;\nn eingeben: &quot;; cin&gt;&gt;n;<br />
}<br />
//4 - Entwickeln Sie fuer Instanzen von &quot;ableitung&quot; eine Funktion zur Ausgabe der Daten.<br />
void ausgabe(int &amp;y)<br />
{<br />
cout&lt;&lt;y;<br />
}</p>
<p>//5 - Entwickeln Sie eine Funktion &quot;rechnen&quot;, die<br />
int _tmain(int argc, _TCHAR* argv[])<br />
{<br />
int a=0,n=0,b=0,m=0,y;</p>
<p>funktion();<br />
ableitung();<br />
eingabe();<br />
ausgabe(y);</p>
<p>_getch();<br />
return 0;<br />
}</p>
<p>//wäre nett wenn ihr mir helfen könntet!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2212478</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2212478</guid><dc:creator><![CDATA[Tester10031995]]></dc:creator><pubDate>Thu, 17 May 2012 07:19:34 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche Hilfe bei meinem Programm, das will nich wies soll on Thu, 17 May 2012 07:27:39 GMT]]></title><description><![CDATA[<p>cpp tags<br />
fehler meldung / erwartetes und reales ergebnis</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2212480</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2212480</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Thu, 17 May 2012 07:27:39 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche Hilfe bei meinem Programm, das will nich wies soll on Thu, 17 May 2012 07:28:06 GMT]]></title><description><![CDATA[<p>1. Bitte verwende cpp Code Tags, sonst kann keiner deinen Code lesen.<br />
2. Verratest du uns auch was nicht geht? Kompiliert es nicht? gibt es falsche Werte aus? etc.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2212481</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2212481</guid><dc:creator><![CDATA[icarus2]]></dc:creator><pubDate>Thu, 17 May 2012 07:28:06 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche Hilfe bei meinem Programm, das will nich wies soll on Thu, 17 May 2012 08:28:22 GMT]]></title><description><![CDATA[<p>Wie meine Vorposter schon sagten: Bitte Cpp Tags verwenden</p>
<p>Auf den ersten Blick sehe ich, dass deine Funktionen ja mal sowas von gar keinen Sinn haben... Da dort steht &quot;Datenverbund&quot; sollst du sicherlich in irgendeiner Weise Strukturen oder Klassen verwenden. Du deklarierst in deinen Funktionen Variablen, die du dort doch sowieso nicht verwendest...</p>
<p>Ich lehne mich mal ganz weit aus dem Fenster und sage, dass du eine/mehrere Strukturen/Klassen zu Speicherung von Koeffizienten einer Funktion anlegen sollst und mithilfe dieser eine Funktion ableiten() schreiben sollst, die dann eine Funktion der Form ax^n ableitet...</p>
<p>Sollte das nicht eher so aussehen:</p>
<pre><code class="language-cpp">typedef struct func_param
{
  int a, n;
};
</code></pre>
<p>Und gewöhn dir das</p>
<pre><code class="language-cpp">using namespace std;
</code></pre>
<p>mal ab... Das bringt später nur Ärger.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2212489</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2212489</guid><dc:creator><![CDATA[Ich bin Matrix...]]></dc:creator><pubDate>Thu, 17 May 2012 08:28:22 GMT</pubDate></item></channel></rss>