<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Hduan&#039;s Blog</title>
	<atom:link href="http://hduan2.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hduan2.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 05 Oct 2009 06:01:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hduan2.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Hduan&#039;s Blog</title>
		<link>http://hduan2.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hduan2.wordpress.com/osd.xml" title="Hduan&#039;s Blog" />
	<atom:link rel='hub' href='http://hduan2.wordpress.com/?pushpress=hub'/>
		<item>
		<title>So Challenge 1 GetInt function</title>
		<link>http://hduan2.wordpress.com/2009/10/05/so-challenge-1-getint-function/</link>
		<comments>http://hduan2.wordpress.com/2009/10/05/so-challenge-1-getint-function/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 06:01:48 +0000</pubDate>
		<dc:creator>hduan2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hduan2.wordpress.com/?p=6</guid>
		<description><![CDATA[ya I know it was late, but I just dont like to blog. Anyway there is my code for GetInt function: void GetInt(char *strint, int val){ int i; int t; /*strint[1] = (val &#60; 0 &#38;&#38; (strint[0] = &#8216;-&#8217; &#124;&#124; val = (0 &#8211; val)));*/ strint[0] = &#8216; &#8216;; if(val &#60; 0){ strint[0] = &#8216;-&#8217;; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hduan2.wordpress.com&amp;blog=9526525&amp;post=6&amp;subd=hduan2&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ya I know it was late, but  I just dont like to blog. Anyway there is my code for GetInt function:</p>
<p><code><br />
void GetInt(char *strint, int val){<br />
int i;<br />
int t;</code></p>
<p>/*strint[1] = (val &lt; 0 &amp;&amp; (strint[0] = &#8216;-&#8217; || val = (0 &#8211; val)));*/</p>
<p>strint[0] = &#8216; &#8216;;<br />
if(val &lt; 0){     strint[0] = &#8216;-&#8217;;     val = -val;   }</p>
<p>strint[1] = 0;</p>
<p>if(val == 0){     strint[1] = Zero;     strint[2] = 0;   }</p>
<p>for(i=1; val != 0; i++){</p>
<p>for(t = i; t &gt;= 1; t&#8211;){<br />
strint[t+1] = strint[t];<br />
}<br />
strint[1] = val%10+Zero;<br />
val = (val &#8211; val%10)/10;<br />
}<br />
}</p>
<p>I defined Zero to 48 which is ascII code for number 0</p>
<p>inside my code, there is a piece of that is commented. I tried to use that line of code to replace the negative checking part &#8230; but the compiler complained because I tried to use Boolean value False, which I know is 0 ,as the null byte for string end checking. I tried to put (int) in front of the Boolean value, but its not helping &#8230; anyone can help me out</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hduan2.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hduan2.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hduan2.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hduan2.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hduan2.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hduan2.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hduan2.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hduan2.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hduan2.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hduan2.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hduan2.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hduan2.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hduan2.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hduan2.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hduan2.wordpress.com&amp;blog=9526525&amp;post=6&amp;subd=hduan2&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hduan2.wordpress.com/2009/10/05/so-challenge-1-getint-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efb0be28e897015c359e6fac90da8bfa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hduan2</media:title>
		</media:content>
	</item>
		<item>
		<title>First Time on Blogging</title>
		<link>http://hduan2.wordpress.com/2009/10/05/first-time-on-blogging/</link>
		<comments>http://hduan2.wordpress.com/2009/10/05/first-time-on-blogging/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 05:42:09 +0000</pubDate>
		<dc:creator>hduan2</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hduan2.wordpress.com/?p=3</guid>
		<description><![CDATA[As  I said, it gonna take a while till I can get used to this stuff<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hduan2.wordpress.com&amp;blog=9526525&amp;post=3&amp;subd=hduan2&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As  I said, it gonna take a while till I can get used to this stuff <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hduan2.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hduan2.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hduan2.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hduan2.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hduan2.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hduan2.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hduan2.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hduan2.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hduan2.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hduan2.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hduan2.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hduan2.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hduan2.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hduan2.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hduan2.wordpress.com&amp;blog=9526525&amp;post=3&amp;subd=hduan2&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hduan2.wordpress.com/2009/10/05/first-time-on-blogging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efb0be28e897015c359e6fac90da8bfa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hduan2</media:title>
		</media:content>
	</item>
	</channel>
</rss>
