<?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[HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!!]]></title><description><![CDATA[<p>Hallo an alle!<br />
hab im moment eine Lehre zum Fachinformatiker angefangen, und programmiere hauptsächlich in vb und <a href="http://vb.net" rel="nofollow">vb.net</a>, doch das blöde ist das ich inder berufsschule c++ programmieren KÖNNEN MUSS, weil ich etwas später in die lehre gegangen bin sind die schon etwas weiter als ich alkso brauche ich Bei einem klitzekleinem Problem Hilfe um wieder im boot zu sitzen.<br />
Also folgendes Programm(bitte nicht lachen):<br />
entwickeln sie den datentyp kfz zur verwaltung von autos.ein auto besteht aus marke,farbe,leistung in ps,anzahl der türen,baujahr,inventarnummer.<br />
- schreiben sie eine funktion, um daten in eine variable des kfz typs eingeben zu können. die variable soll der funktion als paramter übergeben werden.<br />
-schreiben sie ein entsprechende funktion zur ausgabe der daten einer variablen dieses typs. auch hier wird die variable als parameter übergeben.<br />
-schreiben sie eine funktion, die die leistung eines autos in kW ausgibt(1 ps = 0,735 Kw). die variable soll wieder als parameter übergeben werden.</p>
<p>BITTE BITTE HELFT MIR SO SCHNELL ES GEHT ICH KENNE NUR EINIGE PRIMITIVE GRUNDLAGEN UND WEISS NICHT WIE MAN FUNKTIONEN SCHREIBT UND DATENTYPEN ANLEGT!!! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/158274/hiiiiiiiiiiiiiiiillllfeeeeeeeeeeeeeeeeeeeeeeeeee</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 03:09:55 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/158274.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Sep 2006 19:41:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 19:41:49 GMT]]></title><description><![CDATA[<p>Hallo an alle!<br />
hab im moment eine Lehre zum Fachinformatiker angefangen, und programmiere hauptsächlich in vb und <a href="http://vb.net" rel="nofollow">vb.net</a>, doch das blöde ist das ich inder berufsschule c++ programmieren KÖNNEN MUSS, weil ich etwas später in die lehre gegangen bin sind die schon etwas weiter als ich alkso brauche ich Bei einem klitzekleinem Problem Hilfe um wieder im boot zu sitzen.<br />
Also folgendes Programm(bitte nicht lachen):<br />
entwickeln sie den datentyp kfz zur verwaltung von autos.ein auto besteht aus marke,farbe,leistung in ps,anzahl der türen,baujahr,inventarnummer.<br />
- schreiben sie eine funktion, um daten in eine variable des kfz typs eingeben zu können. die variable soll der funktion als paramter übergeben werden.<br />
-schreiben sie ein entsprechende funktion zur ausgabe der daten einer variablen dieses typs. auch hier wird die variable als parameter übergeben.<br />
-schreiben sie eine funktion, die die leistung eines autos in kW ausgibt(1 ps = 0,735 Kw). die variable soll wieder als parameter übergeben werden.</p>
<p>BITTE BITTE HELFT MIR SO SCHNELL ES GEHT ICH KENNE NUR EINIGE PRIMITIVE GRUNDLAGEN UND WEISS NICHT WIE MAN FUNKTIONEN SCHREIBT UND DATENTYPEN ANLEGT!!! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130380</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130380</guid><dc:creator><![CDATA[Ahramys]]></dc:creator><pubDate>Sun, 03 Sep 2006 19:41:49 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 19:56:14 GMT]]></title><description><![CDATA[<p><a href="http://www.lugbz.org/documents/smart-questions_de.html" rel="nofollow">Wie man Fragen richtig stellt</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130383</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130383</guid><dc:creator><![CDATA[finix]]></dc:creator><pubDate>Sun, 03 Sep 2006 19:56:14 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 20:01:59 GMT]]></title><description><![CDATA[<p>Und der Titet sagt auch nicht soviel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130390</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130390</guid><dc:creator><![CDATA[tzzzzzzzzzzzz]]></dc:creator><pubDate>Sun, 03 Sep 2006 20:01:59 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 20:08:41 GMT]]></title><description><![CDATA[<p>Ja es tut mir Leid ich bin neu hier und hatte keine zeit mir die &quot;Wie man Fragen stellt&quot; Sachen durchzulesen. Ich brauche das bis morgen, mir reicht nur ein kleines beispiel, in <a href="http://vb.net" rel="nofollow">vb.net</a> könnte ich es programmieren aber in c++ kenne ich nichts, ich würde ja ein tutorial durchlesen aber diese sind nicht immer so gut und verständlich für anfänger und meistens viel zu lang und dafür habe ich keine zeit ich brauche es bis morgen bitte. VERSTEHT MICH!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130393</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130393</guid><dc:creator><![CDATA[Ahramys]]></dc:creator><pubDate>Sun, 03 Sep 2006 20:08:41 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 20:18:46 GMT]]></title><description><![CDATA[<p>Ok, schreib das Programm in Pseudocode, ersetze alles was sich deiner Meinung auf &quot;primitive Grundlagen&quot; abbilden lässt durch C++. Beim Rest wird dir sicher schon geholfen werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130401</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130401</guid><dc:creator><![CDATA[finix]]></dc:creator><pubDate>Sun, 03 Sep 2006 20:18:46 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 20:23:06 GMT]]></title><description><![CDATA[<p>Vielen Dank,<br />
Ich kann jede Hilfe gut gebrauchen und bin allen zutiefst dankbar für alles.<br />
<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="🙂"
    /> <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/1130403</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130403</guid><dc:creator><![CDATA[Ahramys]]></dc:creator><pubDate>Sun, 03 Sep 2006 20:23:06 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 20:39:48 GMT]]></title><description><![CDATA[<p>Erklär mal... Wie kann man später in die Lehre gehen, wenn da schon was gemacht wird, das man selbst noch nicht kann? Ich meine, programmieren willst du ja schon können, also warum erzählst du hier was von für Anfänger schwer verständlcihen Tuts?</p>
<p>Aber falls das alles dein Ernst ist, mach dir mal keine Sorgen, bis morgen wirst du es schon hinbekommen, ist ja nur ne einfache Übungsaufgabe. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130419</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130419</guid><dc:creator><![CDATA[Kenner des Problems]]></dc:creator><pubDate>Sun, 03 Sep 2006 20:39:48 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 20:46:52 GMT]]></title><description><![CDATA[<p>Bau Dir eben eine Klasse mit Eingabe-/Ausgabefunktion. Die Atrribute sind private.<br />
Hier hast Du ein gutes Beispiel: <a href="http://www.gotw.ca/gotw/004.htm" rel="nofollow">http://www.gotw.ca/gotw/004.htm</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130424</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130424</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Sun, 03 Sep 2006 20:46:52 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 20:56:32 GMT]]></title><description><![CDATA[<p>Hab in der schule folgendes als anfang bekommen(mit dev-c++):</p>
<p>#include &lt;conio.h&gt;<br />
#include &lt;iostream&gt;<br />
using namespace std;</p>
<p>struct kfz<br />
{<br />
string marke;<br />
string farbe;<br />
int leistung;<br />
int anzahl;<br />
int baujahr;<br />
int inventarnr;</p>
<p>};</p>
<p>int main()<br />
{<br />
struct eingabe {<br />
cout&lt;&lt;&quot;Marke: &quot;;cin&gt;&gt;kfz.leistung&gt;&gt;&quot;\n&quot;;<br />
cout&gt;&gt;&quot;Farbe: &quot;;cin&lt;&lt;kfz.farbe&lt;&lt;&quot;\n&quot;;<br />
cout&gt;&gt;&quot;Leistung: &quot;;cin&lt;&lt;kfz.leistung&lt;&lt;&quot;\n&quot;;<br />
cout&gt;&gt;&quot;Anzahl der Türen: &quot;;cin&lt;&lt;kfz.anzahl&lt;&lt;&quot;\n&quot;;<br />
cout&gt;&gt;&quot;Baujahr: &quot;;cin&lt;&lt;kfz.baujahr&lt;&lt;&quot;\n&quot;;<br />
cout&gt;&gt;&quot;InventarNr: &quot;;cin&lt;&lt;kfz.inventarnr&lt;&lt;&quot;\n&quot;;<br />
.....<br />
.....</p>
<p>ist der anfang bisher richtig, hab dem typ kfz die eigenschaften festgelegt,<br />
und versuche eine funktion zu schreiben bei der ich die eigenschaften eingebe doch wie erfolgt die paramtereübergabe, weiß das es in vb mit z.b. function eingabe(byval irgendwas as string,byval irgendwas as string) as string usw.<br />
aber wie mache ich das bei c++ bräuchte nur mal ein beispiel um das zusehen und verstehen, denn man kann sagen das ich es im prinzip verstanden haben doch ich kenne eben die befehle und programmcodes nicht die es bei c++ gibt. danke im vroaus an alle antworten !!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130432</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130432</guid><dc:creator><![CDATA[Ahramys]]></dc:creator><pubDate>Sun, 03 Sep 2006 20:56:32 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 21:42:55 GMT]]></title><description><![CDATA[<p>Heut abend läuft einfach nix gescheites im Fernseh!<br />
Aus langeweile und frust hab ich mal ein bischen code geschrieben.</p>
<p>Ich hab das ganze mal in ne klasse gepackt, vll.<br />
gibt dir das ne Vorstellung wie man soetwas implemetieren<br />
könnte.<br />
Ich hab mich weitesgehend an die Vorgaben gehalten,<br />
wusste aber nicht immer genau was wie gemeint war.</p>
<p>Na egal, so oder so ähnlich kann ein solches Progamm<br />
aussehen.</p>
<pre><code class="language-cpp">//kfz.cpp
//Übungsaufgabe eines Fachinformatiker :-)
//Copyright (C) 2006 Storm

#include &lt;string&gt;
#include &lt;iostream&gt;
using namespace std;

class kfz {

   //Konstruktor,Destruktor...
   //sollte der Compiler per
   //Default erstellen.

public:

   bool get(string);
   bool set(string);

   inline void get_kw() {
         cout &lt;&lt; &quot;Leistung in kw:\t&quot; &lt;&lt; leistung*0.735 &lt;&lt; &quot; kw&quot; &lt;&lt; endl;
   }

private:
   string marke;                 //Automarke z.B. BMW
   string farbe;                 //Farbe des Autos z.B. blau
   unsigned int leistung;        //Leistung in PS z.B. 200
   unsigned int tueren;          //Anzahl der Türen z.b. 4
   unsigned int baujahr;         //Baujahr des Autos z.B. 1678
   unsigned int inventarnummer;  //Eine Numer fürs... Inventar :-)

};

bool kfz::set(string variable) {

   //Als erstes schauen wir mal welche
   //Variable übergeben werden soll
   if(variable == &quot;marke&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t\t &quot;;
      cin &gt;&gt; marke;
      return true;
   }
   if(variable == &quot;farbe&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t\t &quot;;
      cin &gt;&gt; farbe;
      return true;
   }
   if(variable == &quot;leistung&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t &quot;;
      cin &gt;&gt; leistung;
      return true;
   }
   if(variable == &quot;tueren&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t\t &quot;;
      cin &gt;&gt; tueren;
      return true;
   }
   if(variable == &quot;baujahr&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t &quot;;
      cin &gt;&gt; baujahr;
      return true;
   }
   if(variable == &quot;inventarnummer&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t &quot;;
      cin &gt;&gt; inventarnummer;
      return true;
   }

   return false;
}

bool kfz::get(string variable) {

   //Und nochmal das gleiche Spiel wie oben
   //nur mit cout anstatt cin

   if(variable == &quot;marke&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t\t &quot; &lt;&lt; marke &lt;&lt; endl;
      return true;
   }
   if(variable == &quot;farbe&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t\t &quot; &lt;&lt;  farbe &lt;&lt; endl;
      return true;
   }
   if(variable == &quot;leistung&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t &quot; &lt;&lt;  leistung &lt;&lt; endl;
      return true;
   }
   if(variable == &quot;tueren&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t\t &quot; &lt;&lt;  tueren &lt;&lt; endl;
      return true;
   }
   if(variable == &quot;baujahr&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t &quot; &lt;&lt;  baujahr &lt;&lt; endl;
      return true;
   }
   if(variable == &quot;inventarnummer&quot;) {
      cout &lt;&lt; variable &lt;&lt; &quot;:\t &quot; &lt;&lt;  inventarnummer &lt;&lt; endl;
      return true;
   }

   return false;
}

int main() {

   kfz fahrzeug;
   fahrzeug.set(&quot;marke&quot;);
   fahrzeug.set(&quot;farbe&quot;);
   fahrzeug.set(&quot;leistung&quot;);
   fahrzeug.set(&quot;tueren&quot;);
   fahrzeug.set(&quot;baujahr&quot;);
   fahrzeug.set(&quot;inventarnummer&quot;);

   fahrzeug.get(&quot;marke&quot;);
   fahrzeug.get(&quot;farbe&quot;);
   fahrzeug.get(&quot;leistung&quot;);
   fahrzeug.get(&quot;tueren&quot;);
   fahrzeug.get(&quot;baujahr&quot;);
   fahrzeug.get(&quot;inventarnummer&quot;);

   fahrzeug.get_kw();

   return 0;
}
</code></pre>
<p>Fehlerüberprüfung ist auch keine drin,<br />
sollte man aber unbedigt noch reinmachen.</p>
<p>//EDIT:<br />
Man kann die Aufgabenstellung auch ganz anders sehn<br />
(jedenfalls ist sie für mich zweideutig).</p>
<pre><code class="language-cpp">//kfz.cpp
//Übungsaufgabe eines Berufsschülers :-)
//Copyright (C) 2006 Storm

#include &lt;string&gt;
#include &lt;iostream&gt;
using namespace std;

struct kfz {

   string marke;                 //Automarke z.B. BMW
   string farbe;                 //Farbe des Autos z.B. blau
   unsigned int leistung;        //Leistung in PS z.B. 200
   unsigned int tueren;          //Anzahl der Türen z.b. 4
   unsigned int baujahr;         //Baujahr des Autos z.B. 1678
   unsigned int inventarnummer;  //Eine Numer fürs... Inventar :-)

};

template&lt;class T&gt; void set(T&amp; variable) {
   cin &gt;&gt; variable;
}

template&lt;class T&gt; void get(T&amp; variable) {
   cout &lt;&lt; variable &lt;&lt; endl;
}

void get_kw(int ps) {
   cout &lt;&lt; &quot;Leistung in kw: &quot; &lt;&lt; ps*0.735 &lt;&lt; &quot; kw&quot; &lt;&lt; endl; 
}

int main() {

   kfz fahrzeug;
   cout &lt;&lt; &quot;Marke:\t\t&quot;;
   set(fahrzeug.marke);
   cout &lt;&lt; &quot;Farbe:\t\t&quot;;
   set(fahrzeug.farbe);
   cout &lt;&lt; &quot;Leistung:\t&quot;;
   set(fahrzeug.leistung);
   cout &lt;&lt; &quot;Tueren:\t\t&quot;;
   set(fahrzeug.tueren);
   cout &lt;&lt; &quot;Baujahr:\t&quot;;
   set(fahrzeug.baujahr);
   cout &lt;&lt; &quot;Inventarnumme:\t&quot;;
   set(fahrzeug.inventarnummer);

   cout &lt;&lt; &quot;Marke:\t\t&quot;;
   get(fahrzeug.marke);
   cout &lt;&lt; &quot;Farbe:\t\t&quot;;
   get(fahrzeug.farbe);
   cout &lt;&lt; &quot;Leistung:\t&quot;;
   get(fahrzeug.leistung);
   cout &lt;&lt; &quot;Tuere:\t\t&quot;;
   get(fahrzeug.tueren);
   cout &lt;&lt; &quot;Baujah:\t&quot;;
   get(fahrzeug.baujahr);
   cout &lt;&lt; &quot;Inventarnumme:\t&quot;;
   get(fahrzeug.inventarnummer);

   get_kw(fahrzeug.leistung);

   return 0;
}
</code></pre>
<p>Auch hier fehlt die Fehlerüberprüfung völlig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130446</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130446</guid><dc:creator><![CDATA[Mario Sandler]]></dc:creator><pubDate>Sun, 03 Sep 2006 21:42:55 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 21:58:21 GMT]]></title><description><![CDATA[<p>Sieht zu kompliziert aus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130453</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130453</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Sun, 03 Sep 2006 21:58:21 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 22:01:04 GMT]]></title><description><![CDATA[<p>Gut gemacht Storm, aber die erste Lösung sieht scheisse aus, wenn da jeweils mit if abgefragt wird, welche Variable geändert werden soll.</p>
<p>Gibts keine Möglichkeit, den übergebenen String als Variablennamen zu nehmen?<br />
Glaub sowas mal gesehen zu haben, aber nicht in Cpp.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130456</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130456</guid><dc:creator><![CDATA[anderer FIAE-Azubi]]></dc:creator><pubDate>Sun, 03 Sep 2006 22:01:04 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Sun, 03 Sep 2006 22:07:52 GMT]]></title><description><![CDATA[<p>In PHP geht sowas glaub ich. Sieht dann irgendwie so aus</p>
<pre><code class="language-cpp">$zahl = 3;
$string = &quot;zahl&quot;;
$$string = 5;
echo $zahl;      //wäre dann 5 wenn ich das noch richtig weis
</code></pre>
<p>Bin mir aber nicht mehr ganz sicher. In Cpp gehts sowas<br />
jedenfalls nicht (mit nem macro würds sowas aber glaub ich gehn).<br />
Außerdem stimme ich voll und ganz zu das die erste Lösung<br />
beschissen aussieht, aber die Aufgabenstellung lautet nunmal so.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130461</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130461</guid><dc:creator><![CDATA[Mario Sandler]]></dc:creator><pubDate>Sun, 03 Sep 2006 22:07:52 GMT</pubDate></item><item><title><![CDATA[Reply to HIIIIIIIIIIIIIIIILLLLFEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!! on Mon, 04 Sep 2006 01:52:29 GMT]]></title><description><![CDATA[<p>Bei der Formulierung von Fragen bitte sich aus der Logik erschließende Form einhalten.</p>
<p>Titel wie diese sind misst. Um das zu wissen braucht man keinen Artikel zum Thema &quot;Wie stelle ich meine Fragen&quot; richtig lesen.</p>
<p>Versuch beim nächsten mal besser über die Formulierung deiner Frage nachzudenken. Außerdem machen wir hier keine Hausaufgaben, wie betreuen dich höchstens dabei diese zu machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1130500</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1130500</guid><dc:creator><![CDATA[rüdiger]]></dc:creator><pubDate>Mon, 04 Sep 2006 01:52:29 GMT</pubDate></item></channel></rss>