<?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; logische operatoren</title>
	<atom:link href="http://www.jlip.de/tag/logische-operatoren/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>Logische Operatoren in C</title>
		<link>http://www.jlip.de/logische-operatoren-in-c/</link>
		<comments>http://www.jlip.de/logische-operatoren-in-c/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 12:04:10 +0000</pubDate>
		<dc:creator>Harun admin</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[logische operatoren]]></category>

		<guid isPermaLink="false">http://www.jlip.de/?p=227</guid>
		<description><![CDATA[C gibt es wie in der Digitaltechnik und vielen anderen Programmiersprachen Logische Operatoren. &#38;&#38; logisches UND &#124;&#124; logisches ODER !  logische negation NICHT Auswertung: von links nach rechts aber nur solange bis das Ergebnis feststeht. Alles danach wird nicht mehr beachtet. BSP: int i = 1, j = 2, k = 2; (i &#60; 2) [...]]]></description>
			<content:encoded><![CDATA[<p>C gibt es wie in der Digitaltechnik und vielen anderen Programmiersprachen Logische Operatoren.<span id="more-227"></span></p>
<p>&amp;&amp; logisches UND</p>
<p>|| logisches ODER</p>
<p>!  logische negation NICHT</p>
<p><strong>Auswertung:</strong></p>
<p>von links nach rechts aber nur solange bis das Ergebnis feststeht. Alles danach wird nicht mehr beachtet.</p>
<p><strong>BSP:</strong></p>
<p>int i = 1, j = 2, k = 2;</p>
<p>(i &lt; 2) || (j == k);</p>
<p>// es kommt richtig rauß. Da es eine ODER Verknüpfung ist und der erste vergleich stimmt, wird der Rest nicht mehr beachtet.</p>
<p>(i &lt; 2) &amp;&amp; ! (j == k);</p>
<p>// richtig, da 1. richtig und 2. wird falsch erwartet</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jlip.de/logische-operatoren-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
