<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Kommentare zu: Einlesen und ausgeben von Variablen mit scanf</title>
	<atom:link href="http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/</link>
	<description>oder so ähnlich</description>
	<lastBuildDate>Tue, 25 May 2010 22:43:04 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Von: Harun</title>
		<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/comment-page-1/#comment-41</link>
		<dc:creator>Harun</dc:creator>
		<pubDate>Sat, 03 Oct 2009 12:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.jlip.de/?p=145#comment-41</guid>
		<description>Ein Forum wäre generell möglich aber würde sich im Moment nicht lohnen, da es wirklich sehr wenige Besucher sind... Die paar Fragen kann ich auch hier beantworten ;)

Und das ist C über das ich hier schreibe.</description>
		<content:encoded><![CDATA[<p>Ein Forum wäre generell möglich aber würde sich im Moment nicht lohnen, da es wirklich sehr wenige Besucher sind&#8230; Die paar Fragen kann ich auch hier beantworten <img src='http://www.jlip.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Und das ist C über das ich hier schreibe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Popoklopsi(uedi)</title>
		<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/comment-page-1/#comment-40</link>
		<dc:creator>Popoklopsi(uedi)</dc:creator>
		<pubDate>Sat, 03 Oct 2009 12:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.jlip.de/?p=145#comment-40</guid>
		<description>Hey hab 2 Fragen ;D

1. Wäre es möglich in die Homepage hier ein kleines Forum einzubauen, damit man Fragen, wie ich jetzt, stellen kann, und es nicht umbedingt unter kommentare schreiben muss?

2. Was ist das für Sprache jetzt eigentlich ganz genau?

C, C# oder C++ ?</description>
		<content:encoded><![CDATA[<p>Hey hab 2 Fragen ;D</p>
<p>1. Wäre es möglich in die Homepage hier ein kleines Forum einzubauen, damit man Fragen, wie ich jetzt, stellen kann, und es nicht umbedingt unter kommentare schreiben muss?</p>
<p>2. Was ist das für Sprache jetzt eigentlich ganz genau?</p>
<p>C, C# oder C++ ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: popoklopsi(uedi)</title>
		<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/comment-page-1/#comment-39</link>
		<dc:creator>popoklopsi(uedi)</dc:creator>
		<pubDate>Fri, 02 Oct 2009 19:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jlip.de/?p=145#comment-39</guid>
		<description>irgentwie sind die zufallszahlen immer die gleichen 2, dann 5 dann 8 und so weiter, voll der kack ;D</description>
		<content:encoded><![CDATA[<p>irgentwie sind die zufallszahlen immer die gleichen 2, dann 5 dann 8 und so weiter, voll der kack ;D</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Harun (admin)</title>
		<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/comment-page-1/#comment-38</link>
		<dc:creator>Harun (admin)</dc:creator>
		<pubDate>Fri, 02 Oct 2009 13:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.jlip.de/?p=145#comment-38</guid>
		<description>Hehe gute Sachen ;) Ja das liegt an html, dass die nach include nicht kommen. Also der macht das auch ^^</description>
		<content:encoded><![CDATA[<p>Hehe gute Sachen <img src='http://www.jlip.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Ja das liegt an html, dass die nach include nicht kommen. Also der macht das auch ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Popoklopsi(uedi)</title>
		<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/comment-page-1/#comment-37</link>
		<dc:creator>Popoklopsi(uedi)</dc:creator>
		<pubDate>Fri, 02 Oct 2009 11:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.jlip.de/?p=145#comment-37</guid>
		<description>hab hier noch bissle erweiter :D, jetzt ist es eine zufällige zahl :D

#include 
#include 


int main(void)
{
  int x;
  int richtig = 1 + ( rand() % ( 10 - 1 + 1 ) ) ;
  printf(&quot;Gebe Eine Zahl von 1 - 10 an, nur eine Zahl ist richtig, diese ist zufaellig ;D\n&quot;);
  scanf(&quot;%i&quot;, &amp;x);
  printf(&quot;deine Zahl war %i\n\n&quot;, x);
  if (x == richtig)
     {
      printf(&quot;Richtige Zahl, gut gemacht\n\n&quot;);  
           
     }
  else
      {
           printf(&quot;Falsche Zahl, probiers nochma\n\n\n\n&quot;);
           main();
      }   
  getch();
}</description>
		<content:encoded><![CDATA[<p>hab hier noch bissle erweiter <img src='http://www.jlip.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> , jetzt ist es eine zufällige zahl <img src='http://www.jlip.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>#include<br />
#include </p>
<p>int main(void)<br />
{<br />
  int x;<br />
  int richtig = 1 + ( rand() % ( 10 &#8211; 1 + 1 ) ) ;<br />
  printf(&#8221;Gebe Eine Zahl von 1 &#8211; 10 an, nur eine Zahl ist richtig, diese ist zufaellig ;D\n&#8221;);<br />
  scanf(&#8221;%i&#8221;, &amp;x);<br />
  printf(&#8221;deine Zahl war %i\n\n&#8221;, x);<br />
  if (x == richtig)<br />
     {<br />
      printf(&#8221;Richtige Zahl, gut gemacht\n\n&#8221;);  </p>
<p>     }<br />
  else<br />
      {<br />
           printf(&#8221;Falsche Zahl, probiers nochma\n\n\n\n&#8221;);<br />
           main();<br />
      }<br />
  getch();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Popoklopsi(uedi)</title>
		<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/comment-page-1/#comment-35</link>
		<dc:creator>Popoklopsi(uedi)</dc:creator>
		<pubDate>Thu, 01 Oct 2009 18:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jlip.de/?p=145#comment-35</guid>
		<description>und die anführungszeichen mcht es falsche :D</description>
		<content:encoded><![CDATA[<p>und die anführungszeichen mcht es falsche <img src='http://www.jlip.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Popoklopsi(uedi)</title>
		<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/comment-page-1/#comment-34</link>
		<dc:creator>Popoklopsi(uedi)</dc:creator>
		<pubDate>Thu, 01 Oct 2009 18:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.jlip.de/?p=145#comment-34</guid>
		<description>das zeugs nach include nimmts nicht</description>
		<content:encoded><![CDATA[<p>das zeugs nach include nimmts nicht</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Popoklopsi(uedi)</title>
		<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/comment-page-1/#comment-33</link>
		<dc:creator>Popoklopsi(uedi)</dc:creator>
		<pubDate>Thu, 01 Oct 2009 18:43:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.jlip.de/?p=145#comment-33</guid>
		<description>hey, ich hab hier mal einen kleinen selbst versuch gemacht, eine Zahl is richtig, die man einstellen kann und man muss sie versuchen zu erate :D

#include 
#include 

int main(void)
{
  int richtigezahl = 6;    /* HIER DIE RICHTIGE ZAHL */
  int x;
  printf(&quot;Gebe Eine Zahl von 1 - 10 an, nur eine Zahl ist richtig\n&quot;);
  scanf(&quot;%i&quot;, &amp;x);
  printf(&quot;deine Zahl war %i\n&quot;, x);
  if (x == richtigezahl)
     {
      printf(&quot;Richtige Zahl, gut gemacht\n&quot;);  
           
     }
  else
      {
           printf(&quot;Falsche Zahl, probiers nochmal\n&quot;); 
      }   
  getch();
}</description>
		<content:encoded><![CDATA[<p>hey, ich hab hier mal einen kleinen selbst versuch gemacht, eine Zahl is richtig, die man einstellen kann und man muss sie versuchen zu erate <img src='http://www.jlip.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>#include<br />
#include </p>
<p>int main(void)<br />
{<br />
  int richtigezahl = 6;    /* HIER DIE RICHTIGE ZAHL */<br />
  int x;<br />
  printf(&#8221;Gebe Eine Zahl von 1 &#8211; 10 an, nur eine Zahl ist richtig\n&#8221;);<br />
  scanf(&#8221;%i&#8221;, &amp;x);<br />
  printf(&#8221;deine Zahl war %i\n&#8221;, x);<br />
  if (x == richtigezahl)<br />
     {<br />
      printf(&#8221;Richtige Zahl, gut gemacht\n&#8221;);  </p>
<p>     }<br />
  else<br />
      {<br />
           printf(&#8221;Falsche Zahl, probiers nochmal\n&#8221;);<br />
      }<br />
  getch();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: sea212</title>
		<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/comment-page-1/#comment-23</link>
		<dc:creator>sea212</dc:creator>
		<pubDate>Sun, 27 Sep 2009 12:02:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.jlip.de/?p=145#comment-23</guid>
		<description>Hey uedi,

void main(void) bedeuted soviel wie das nichts return wird und das main keine variablen mitgeliefert werden müssen, stell dir das vor wie def main(): (python)

int main(void) bedeuted soviel wie das eine zahl return wird 

int main(void) {
return 1
}

ist aber in main unwesentlich!

hier ein nützliches beispiel in dem variablem mitgeliefert werden!

( c++ beispiel da ich nur c++ kann &lt;.&lt;)

#include 

using namespace std;

int main( int argc, char *argv[]) {
 cout&lt;&lt;&quot;Programm mit &quot;&lt;&lt;argc-1&lt;&lt;&quot; Parametern gestartet:&quot;&lt;&lt;endl;
    for (int item = 0; item &lt; argc; item++)
    {
        // startparamter aufzählen
        if (item)
           cout&lt;&lt;&quot;    [&quot;&lt;&lt;item&lt;&lt;&quot;] &quot;&lt;&lt;argv[item]&lt;&lt;endl;
    }
}

so weit hoffe ich das du es verstanden hast :D ansonsten noch ein ganz einfaches beispiel zum schluss:

#include 

using namespace std;

int minuseins(int zahl)
{
   return zahl-1
}

int main(void)
{
   cout&lt;&lt;&quot;2 minus 1 ist &quot;&lt;&lt;minuseins(2)&lt;&lt;&quot;.&quot;&lt;&lt;endl;
}

-M.f.G, sea212</description>
		<content:encoded><![CDATA[<p>Hey uedi,</p>
<p>void main(void) bedeuted soviel wie das nichts return wird und das main keine variablen mitgeliefert werden müssen, stell dir das vor wie def main(): (python)</p>
<p>int main(void) bedeuted soviel wie das eine zahl return wird </p>
<p>int main(void) {<br />
return 1<br />
}</p>
<p>ist aber in main unwesentlich!</p>
<p>hier ein nützliches beispiel in dem variablem mitgeliefert werden!</p>
<p>( c++ beispiel da ich nur c++ kann &lt;.&lt;)</p>
<p>#include </p>
<p>using namespace std;</p>
<p>int main( int argc, char *argv[]) {<br />
 cout&lt;&lt;&quot;Programm mit &quot;&lt;&lt;argc-1&lt;&lt;&quot; Parametern gestartet:&quot;&lt;&lt;endl;<br />
    for (int item = 0; item &lt; argc; item++)<br />
    {<br />
        // startparamter aufzählen<br />
        if (item)<br />
           cout&lt;&lt;&quot;    [&quot;&lt;&lt;item&lt;&lt;&quot;] &quot;&lt;&lt;argv[item]&lt;&lt;endl;<br />
    }<br />
}</p>
<p>so weit hoffe ich das du es verstanden hast <img src='http://www.jlip.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  ansonsten noch ein ganz einfaches beispiel zum schluss:</p>
<p>#include </p>
<p>using namespace std;</p>
<p>int minuseins(int zahl)<br />
{<br />
   return zahl-1<br />
}</p>
<p>int main(void)<br />
{<br />
   cout&lt;&lt;&quot;2 minus 1 ist &quot;&lt;&lt;minuseins(2)&lt;&lt;&quot;.&quot;&lt;&lt;endl;<br />
}</p>
<p>-M.f.G, sea212</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: popoklopsi(uedi)</title>
		<link>http://www.jlip.de/c/einlesen-und-ausgeben-von-variablen-mit-scanf/comment-page-1/#comment-22</link>
		<dc:creator>popoklopsi(uedi)</dc:creator>
		<pubDate>Sun, 27 Sep 2009 11:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.jlip.de/?p=145#comment-22</guid>
		<description>asoooo :D,
also auch anfänger :D,
naja will auch ma informatik studieren dauerd aber noch weng, bin 16 und in der 10. klasse hab noch 2 Jahre :D</description>
		<content:encoded><![CDATA[<p>asoooo <img src='http://www.jlip.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ,<br />
also auch anfänger <img src='http://www.jlip.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ,<br />
naja will auch ma informatik studieren dauerd aber noch weng, bin 16 und in der 10. klasse hab noch 2 Jahre <img src='http://www.jlip.de/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
