<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jetzt lerne ich programmieren &#187; if</title>
	<atom:link href="http://www.jlip.de/tag/if/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jlip.de</link>
	<description>oder so ähnlich...</description>
	<lastBuildDate>Thu, 29 Oct 2009 13:03:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Kontrollstrukturen if &#8211; else in C</title>
		<link>http://www.jlip.de/kontrollstrukturen-if-else-in-c/</link>
		<comments>http://www.jlip.de/kontrollstrukturen-if-else-in-c/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 12:40:49 +0000</pubDate>
		<dc:creator>Harun admin</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[else]]></category>
		<category><![CDATA[if]]></category>
		<category><![CDATA[if else]]></category>
		<category><![CDATA[kontrollstrukturen]]></category>

		<guid isPermaLink="false">http://www.jlip.de/?p=234</guid>
		<description><![CDATA[if &#8211; else Mit if erstellt man eine Bedingung auf, die erfüllt werden muss, bevor die Anweiung ausgeführt wird. Wenn die Bedingung nicht erfüllt wird kann else folgen oder es wird einfach alles ignoriert. Syntax if(Bedingung) // danach nie ein Semikolon ; { // Anweisung die ausgeführt wird // Wenn die Bedingung erfüllt ist } [...]]]></description>
			<content:encoded><![CDATA[<h2>if &#8211; else</h2>
<p>Mit if erstellt man eine Bedingung auf, die erfüllt werden muss, bevor die Anweiung ausgeführt wird. Wenn die Bedingung nicht erfüllt wird kann else folgen oder es wird einfach alles ignoriert.</p>
<p><span id="more-234"></span></p>
<ul>
<li><strong><span style="text-decoration: underline;">Syntax</span></strong></li>
</ul>
<pre lang="CPP">
if(Bedingung) // danach nie ein Semikolon ;
{
// Anweisung die ausgeführt wird
// Wenn die Bedingung erfüllt ist
}
else // nur optional
{
// Anweisung wenn die Bed. nicht erfüllt ist
}

BSP:

int i;

  scanf("%i", &amp;i);
  if(i &gt; 10)
  {
   printf("i ist größer als 10");
  }
  else
  {
  printf("i ist kleiner als 10");
  }</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jlip.de/kontrollstrukturen-if-else-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
