<?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>⧴ &#187; C</title>
	<atom:link href="http://www.kv0.org/blog/tag/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kv0.org/blog</link>
	<description>procastere: Inf. Präs. Akt. - etw. für morgen lassen</description>
	<lastBuildDate>Sat, 21 Jan 2012 11:22:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Learn C the hard way!</title>
		<link>http://www.kv0.org/blog/2011/10/04/learn-c-the-hard-way/</link>
		<comments>http://www.kv0.org/blog/2011/10/04/learn-c-the-hard-way/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 08:21:39 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[learn the hard way]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.kv0.org/blog/?p=1094</guid>
		<description><![CDATA[Zed A. Shaw den man vielleicht von &#8220;Learn python the hard way&#8221; kennt sitzt gerade an einem neuen Buch: &#8220;Learn C the hard way&#8220;. Und falls man es noch nicht kennt:  Teach Yourself Programming in Ten Years (must read!)]]></description>
			<content:encoded><![CDATA[<p><a title="zed on twitter" href="http://twitter.com/#%21/zedshaw">Zed A. Shaw</a> den man vielleicht von &#8220;<a href="http://learnpythonthehardway.org/" target="_blank">Learn python the hard way</a>&#8221; kennt sitzt gerade an einem neuen Buch: &#8220;<a href="http://c.learncodethehardway.org/book/" target="_blank">Learn C the hard way</a>&#8220;. Und falls man es noch nicht kennt:  <a href="http://norvig.com/21-days.html" target="_blank">Teach Yourself Programming in Ten Years</a> (must read!)</p>
 <p><a href="http://www.kv0.org/blog/?flattrss_redirect&amp;id=1094&amp;md5=2dedfd582b2c973fed1f049a424054b3" title="Flattr" target="_blank"><img src="http://www.kv0.org/blog/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.kv0.org/blog/2011/10/04/learn-c-the-hard-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Signalhandler</title>
		<link>http://www.kv0.org/blog/2008/10/23/signalhandler/</link>
		<comments>http://www.kv0.org/blog/2008/10/23/signalhandler/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 18:53:57 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[signalhandler]]></category>

		<guid isPermaLink="false">http://www.kv0.org/blog/2008/10/23/signalhandler/</guid>
		<description><![CDATA[Mal 3 Zeilen um Signale zu verarbeiten. Wichtig ist hierbei das SIGKILL nicht blockierbar ist (SIGTERM übrigens auch nicht ;-) ) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 #include &#60;stdio.h&#62; &#8230; <a href="http://www.kv0.org/blog/2008/10/23/signalhandler/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Mal 3 Zeilen um Signale zu verarbeiten. Wichtig ist hierbei das SIGKILL nicht blockierbar ist (SIGTERM übrigens auch nicht ;-) )</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include &lt;stdio.h&gt;</span>
<span style="color: #339933;">#include &lt;signal.h&gt;</span>
<span style="color: #339933;">#include &lt;stdlib.h&gt;</span>
&nbsp;
<span style="color: #993333;">void</span> sig_handler<span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> signum<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Fetched Strg+cn&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	exit<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">int</span> main <span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> argc<span style="color: #339933;">,</span> <span style="color: #993333;">char</span> <span style="color: #993333;">const</span> <span style="color: #339933;">*</span>argv<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #808080; font-style: italic;">/*catch SIGINT (strg+c)*/</span>
	signal<span style="color: #009900;">&#40;</span>SIGINT<span style="color: #339933;">,</span>sig_handler<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.kv0.org/blog/2008/10/23/signalhandler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C Variablen tauschen</title>
		<link>http://www.kv0.org/blog/2008/10/16/c-variablen-tauschen/</link>
		<comments>http://www.kv0.org/blog/2008/10/16/c-variablen-tauschen/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 16:38:48 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Variablen]]></category>

		<guid isPermaLink="false">http://www.kv0.org/blog/2008/10/16/c-variablen-tauschen/</guid>
		<description><![CDATA[Der Klassikertrick. Durch XOR Verknüpfungen eine Variable sparen. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #include &#60;stdio.h&#62; &#160; int main &#40;int argc, char const *argv&#91;&#93;&#41; &#123; int a = 1; int &#8230; <a href="http://www.kv0.org/blog/2008/10/16/c-variablen-tauschen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Der Klassikertrick. Durch XOR Verknüpfungen eine Variable sparen.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include &lt;stdio.h&gt;</span>
&nbsp;
<span style="color: #993333;">int</span> main <span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> argc<span style="color: #339933;">,</span> <span style="color: #993333;">char</span> <span style="color: #993333;">const</span> <span style="color: #339933;">*</span>argv<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #993333;">int</span> a <span style="color: #339933;">=</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
	<span style="color: #993333;">int</span> b <span style="color: #339933;">=</span> <span style="color: #0000dd;">2</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Start:  a:%i b:%in&quot;</span><span style="color: #339933;">,</span>a<span style="color: #339933;">,</span>b<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	a<span style="color: #339933;">=</span>a<span style="color: #339933;">^</span>b<span style="color: #339933;">;</span>
	<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;a=a^b:  a:%i b:%in&quot;</span><span style="color: #339933;">,</span>a<span style="color: #339933;">,</span>b<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	b<span style="color: #339933;">=</span>a<span style="color: #339933;">^</span>b<span style="color: #339933;">;</span>
	<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;b=a^b:  a:%i b:%in&quot;</span><span style="color: #339933;">,</span>a<span style="color: #339933;">,</span>b<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	a<span style="color: #339933;">=</span>a<span style="color: #339933;">^</span>b<span style="color: #339933;">;</span>
	<span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;a=a^b3: a:%i b:%in&quot;</span><span style="color: #339933;">,</span>a<span style="color: #339933;">,</span>b<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.kv0.org/blog/2008/10/16/c-variablen-tauschen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C</title>
		<link>http://www.kv0.org/blog/2008/10/14/c/</link>
		<comments>http://www.kv0.org/blog/2008/10/14/c/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 14:26:04 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Leben]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Studium]]></category>

		<guid isPermaLink="false">http://www.kv0.org/blog/2008/10/14/c/</guid>
		<description><![CDATA[1 2 3 4 5 6 #include &#60;stdio.h&#62; int main &#40;void&#41; &#123; printf&#40;&#34;Ich bin jetzt offiziell C-Tutorn&#34;&#41;; return 0; &#125;]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include &lt;stdio.h&gt;</span>
<span style="color: #993333;">int</span> main <span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Ich bin jetzt offiziell C-Tutorn&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.kv0.org/blog/2008/10/14/c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

