<?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 mal ne kleine Hilfe]]></title><description><![CDATA[<p>Hi</p>
<p>Also mal vorweg ich bin kompletter c++ Anfänger und soll ein Programm schreiben das einen Datentyp einliest und dann wieder ausgiebt.</p>
<p>Naja probier nu scho seit guten 2 Stunden an dem Ding herum, aber es will einfach ned klappen <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>
<p>Bevor ich nun ganz verzweifel hab ich mir gedacht mal hier zu fragen.</p>
<p>Also das is der code denn ich getippt habe</p>
<pre><code class="language-cpp">#include &lt;stdio.h&gt;

void main()

{
      int Zahl;

      printf (&quot;Bitte geben Sie eine Zahl zwischen 1 und 1000 ein: &quot;);
      scanf  (&quot;Zahl %d&quot; ,variable);
      printf (&quot;Ihre Eingabe lautet: %d&quot; ,variable);

      getchar();

};
</code></pre>
<p>Also was genau is daran falsch? Und bitte ned lachen wenns komplett falsch is wie gesagt is alles Neuland für mich <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Mfg Sare</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/133327/brauche-mal-ne-kleine-hilfe</link><generator>RSS for Node</generator><lastBuildDate>Thu, 27 Aug 2026 20:34:44 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/133327.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Jan 2006 21:25:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Brauche mal ne kleine Hilfe on Mon, 16 Jan 2006 21:25:50 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>Also mal vorweg ich bin kompletter c++ Anfänger und soll ein Programm schreiben das einen Datentyp einliest und dann wieder ausgiebt.</p>
<p>Naja probier nu scho seit guten 2 Stunden an dem Ding herum, aber es will einfach ned klappen <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>
<p>Bevor ich nun ganz verzweifel hab ich mir gedacht mal hier zu fragen.</p>
<p>Also das is der code denn ich getippt habe</p>
<pre><code class="language-cpp">#include &lt;stdio.h&gt;

void main()

{
      int Zahl;

      printf (&quot;Bitte geben Sie eine Zahl zwischen 1 und 1000 ein: &quot;);
      scanf  (&quot;Zahl %d&quot; ,variable);
      printf (&quot;Ihre Eingabe lautet: %d&quot; ,variable);

      getchar();

};
</code></pre>
<p>Also was genau is daran falsch? Und bitte ned lachen wenns komplett falsch is wie gesagt is alles Neuland für mich <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Mfg Sare</p>
]]></description><link>https://www.c-plusplus.net/forum/post/968463</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/968463</guid><dc:creator><![CDATA[Sare]]></dc:creator><pubDate>Mon, 16 Jan 2006 21:25:50 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal ne kleine Hilfe on Mon, 16 Jan 2006 21:30:27 GMT]]></title><description><![CDATA[<p>scanf will einen pointer als parameter</p>
<pre><code class="language-cpp">scanf  (&quot;Zahl %d&quot; ,&amp;variable);
</code></pre>
<p>Kurt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/968464</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/968464</guid><dc:creator><![CDATA[ZuK]]></dc:creator><pubDate>Mon, 16 Jan 2006 21:30:27 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal ne kleine Hilfe on Mon, 16 Jan 2006 21:35:41 GMT]]></title><description><![CDATA[<p>Und wie mache ich das mit einen Pointer?</p>
<p>Hab von dem noch nichts gehört</p>
<p>Mfg Sare</p>
]]></description><link>https://www.c-plusplus.net/forum/post/968469</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/968469</guid><dc:creator><![CDATA[Sare]]></dc:creator><pubDate>Mon, 16 Jan 2006 21:35:41 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal ne kleine Hilfe on Mon, 16 Jan 2006 21:38:48 GMT]]></title><description><![CDATA[<p>siehe oben<br />
Kurt<br />
edit: das &amp; machts aus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/968470</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/968470</guid><dc:creator><![CDATA[ZuK]]></dc:creator><pubDate>Mon, 16 Jan 2006 21:38:48 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal ne kleine Hilfe on Mon, 16 Jan 2006 21:41:08 GMT]]></title><description><![CDATA[<p>Also dass hilft mir auch ned weiter</p>
]]></description><link>https://www.c-plusplus.net/forum/post/968473</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/968473</guid><dc:creator><![CDATA[Sare]]></dc:creator><pubDate>Mon, 16 Jan 2006 21:41:08 GMT</pubDate></item><item><title><![CDATA[Reply to Brauche mal ne kleine Hilfe on Mon, 16 Jan 2006 21:53:44 GMT]]></title><description><![CDATA[<p>Habs übersehen dein scanf ist vollkommen falsch, und eine variable namens variable gibt's auch nicht.</p>
<p>Unschön ist:</p>
<ol>
<li>dass du c-code im c++ forum postest.</li>
<li>void main(), gibt's gab's und wird's nie geben.</li>
</ol>
<p>richtig wäre also</p>
<pre><code class="language-cpp">#include &lt;cstdio&gt;

int main() {
      int Zahl;

      printf (&quot;Bitte geben Sie eine Zahl zwischen 1 und 1000 ein: &quot;);
      scanf  (&quot;%d&quot; , &amp;Zahl);
      printf (&quot;Ihre Eingabe lautet: %d&quot; ,Zahl);

      getchar();

      return 0;
}
</code></pre>
<p>Kurt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/968480</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/968480</guid><dc:creator><![CDATA[ZuK]]></dc:creator><pubDate>Mon, 16 Jan 2006 21:53:44 GMT</pubDate></item></channel></rss>