<?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>Denny&#039;s Blog</title>
	<atom:link href="http://dennyp.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dennyp.wordpress.com</link>
	<description>OOP344 Blog</description>
	<lastBuildDate>Tue, 17 Nov 2009 08:12:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dennyp.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Denny&#039;s Blog</title>
		<link>http://dennyp.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dennyp.wordpress.com/osd.xml" title="Denny&#039;s Blog" />
	<atom:link rel='hub' href='http://dennyp.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Reading from a binary file in reverse</title>
		<link>http://dennyp.wordpress.com/2009/11/17/reading-from-a-binary-file-in-reverse/</link>
		<comments>http://dennyp.wordpress.com/2009/11/17/reading-from-a-binary-file-in-reverse/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 04:48:10 +0000</pubDate>
		<dc:creator>dennyp</dc:creator>
				<category><![CDATA[OOP344]]></category>

		<guid isPermaLink="false">http://dennyp.wordpress.com/?p=54</guid>
		<description><![CDATA[Today&#8217;s OOP344 topic was binary file acess. Fardad wrote a program that would read a series of doubles from a binary file and print them on the screen using cout. He then challenged us to modify his code to print the numbers in reverse from the end of the file, and that a similar question [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=54&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s <a href="http://zenit.senecac.on.ca/wiki/index.php/OOP344">OOP344</a> topic was binary file acess.  <a href="http://seneblog.fardad.com/">Fardad</a> wrote a program that would read a series of doubles from a binary file and print them on the screen using cout.  </p>
<p>He then challenged us to modify his code to print the numbers in reverse from the end of the file, and that a similar question may end up on a test.</p>
<p>Well, if that&#8217;s the case I probably won&#8217;t get a 0 on the next test because I think I have a solution:</p>
<p><pre class="brush: plain;">
#include &lt;iostream&gt;
#include &lt;fstream&gt;
using namespace std;


int main(){
  double d =0;
  fstream fin(&quot;nums.bin&quot;,ios::in| ios::binary);
  int i;
  fin.seekg(sizeof(double)*980);
  for(i=0;i&lt;1000 &amp;&amp; !fin.fail() ;i++){
    fin.read((char*)&amp;d,sizeof(double));
    if(!fin.fail()){
      cout&lt;&lt;i&lt;&lt;&quot;: &quot;&lt;&lt;d&lt;&lt;endl;
    }
  }
  fin.clear();
  cout&lt;&lt;&quot;---------------&quot;&lt;&lt;endl;
  for(i=0;i&lt;1000 &amp;&amp; !fin.fail() ;i++){
    fin.seekg(sizeof(double)*-(1+i), ios::end);
    fin.read((char*)&amp;d,sizeof(double));
    if(!fin.fail()){
      cout&lt;&lt;i&lt;&lt;&quot;: &quot;&lt;&lt;d&lt;&lt;endl;
    }
  }
  fin.clear();
  return 0;
}
</pre></p>
<p>works, but there&#8217;s probably a better way of doing it XD</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennyp.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennyp.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dennyp.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dennyp.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dennyp.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dennyp.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dennyp.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dennyp.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dennyp.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dennyp.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dennyp.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dennyp.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dennyp.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dennyp.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=54&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dennyp.wordpress.com/2009/11/17/reading-from-a-binary-file-in-reverse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fcfba01e0322a0f050ffa3d624b92c08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dennyp</media:title>
		</media:content>
	</item>
		<item>
		<title>Problems with wiki markup</title>
		<link>http://dennyp.wordpress.com/2009/11/17/problems-with-wiki-markup/</link>
		<comments>http://dennyp.wordpress.com/2009/11/17/problems-with-wiki-markup/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 01:56:05 +0000</pubDate>
		<dc:creator>dennyp</dc:creator>
				<category><![CDATA[OOP344]]></category>
		<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://dennyp.wordpress.com/?p=50</guid>
		<description><![CDATA[I was trying to make some changes to my team&#8217;s website and the table was always showing up at the bottom of the page. I want the table to be directly under the first header on the page, followed by subsequent headers but as I keep adding content, it always shows up above the table. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=50&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was trying to make some changes to <a href="http://zenit.senecac.on.ca/wiki/index.php/OOP344_Team_++">my team&#8217;s website</a> and the table was always showing up at the bottom of the page.</p>
<p>I want the table to be directly under the first header on the page, followed by subsequent headers but as I keep adding content, it always shows up above the table.</p>
<p>Probably a syntax error somewhere but I can&#8217;t seem to spot it.</p>
<p>Weird! </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennyp.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennyp.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dennyp.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dennyp.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dennyp.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dennyp.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dennyp.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dennyp.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dennyp.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dennyp.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dennyp.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dennyp.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dennyp.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dennyp.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=50&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dennyp.wordpress.com/2009/11/17/problems-with-wiki-markup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fcfba01e0322a0f050ffa3d624b92c08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dennyp</media:title>
		</media:content>
	</item>
		<item>
		<title>First IRC meeting</title>
		<link>http://dennyp.wordpress.com/2009/10/29/first-irc-meeting/</link>
		<comments>http://dennyp.wordpress.com/2009/10/29/first-irc-meeting/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 05:30:02 +0000</pubDate>
		<dc:creator>dennyp</dc:creator>
				<category><![CDATA[OOP344]]></category>
		<category><![CDATA[Seneca]]></category>

		<guid isPermaLink="false">http://dennyp.wordpress.com/?p=47</guid>
		<description><![CDATA[My team just had it&#8217;s first IRC with Fardad , and I think it went pretty well. The best part was everyone showed up and was on time, hopefully we can repeat that for our second meeting on Saturday night. The topics covered were pretty straight forward, making sure everyone had the basics of svn [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=47&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://zenit.senecac.on.ca/wiki/index.php/OOP344_Team_%2B%2B">team</a> just had it&#8217;s first <a href="http://www.mirc.com/">IRC</a> with <a href="http://seneblog.fardad.com/">Fardad </a>, and I think it went pretty well.  The best part was everyone showed up and was on time, hopefully we can repeat that for our second meeting on Saturday night.</p>
<p>The topics covered were pretty straight forward, making sure everyone had the basics of <a href="http://subversion.tigris.org/">svn</a> down, how to approach <a href="http://zenit.senecac.on.ca/wiki/index.php/OOP344_Assignment_Two">Assignment Two</a> and some basic rules and practices like having separate <a href="http://pastebin.ca/1647370">main()</a>s for each group member. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennyp.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennyp.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dennyp.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dennyp.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dennyp.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dennyp.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dennyp.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dennyp.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dennyp.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dennyp.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dennyp.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dennyp.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dennyp.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dennyp.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=47&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dennyp.wordpress.com/2009/10/29/first-irc-meeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fcfba01e0322a0f050ffa3d624b92c08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dennyp</media:title>
		</media:content>
	</item>
		<item>
		<title>OOP344 Assignment 1 on Borland</title>
		<link>http://dennyp.wordpress.com/2009/10/13/oop344-assignment-1-on-borland/</link>
		<comments>http://dennyp.wordpress.com/2009/10/13/oop344-assignment-1-on-borland/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 15:36:03 +0000</pubDate>
		<dc:creator>dennyp</dc:creator>
				<category><![CDATA[OOP344]]></category>

		<guid isPermaLink="false">http://dennyp.wordpress.com/2009/10/13/oop344-assignment-1-on-borland/</guid>
		<description><![CDATA[I was having problems compiling my program on Borland, too many warnings and one error because of &#8220;Call to function &#8216;io_&#8230;&#8217; with no prototype in function &#8230;.&#8221; After some research, I found a fix. I added void to the parameter definitions of the function prototypes and function headers which had no parameters. so became<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=43&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was having problems compiling my program on Borland, too many warnings and one error because of &#8220;Call to function &#8216;io_&#8230;&#8217; with no prototype in function &#8230;.&#8221;  </p>
<p>After some research, I found a fix.  I added void to the parameter definitions of the function prototypes and function headers which had no parameters.</p>
<p>so </p>
<p><pre class="brush: plain;">void io_flush();</pre></p>
<p>became</p>
<p><pre class="brush: plain;">void io_flush(void);</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennyp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennyp.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dennyp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dennyp.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dennyp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dennyp.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dennyp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dennyp.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dennyp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dennyp.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dennyp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dennyp.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dennyp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dennyp.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=43&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dennyp.wordpress.com/2009/10/13/oop344-assignment-1-on-borland/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fcfba01e0322a0f050ffa3d624b92c08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dennyp</media:title>
		</media:content>
	</item>
		<item>
		<title>Assignment 1 RIGHT_KEY bug fix(sorta)</title>
		<link>http://dennyp.wordpress.com/2009/09/26/assignment-1-right_key-bug-fixsorta/</link>
		<comments>http://dennyp.wordpress.com/2009/09/26/assignment-1-right_key-bug-fixsorta/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 18:56:32 +0000</pubDate>
		<dc:creator>dennyp</dc:creator>
				<category><![CDATA[OOP344]]></category>

		<guid isPermaLink="false">http://dennyp.wordpress.com/?p=35</guid>
		<description><![CDATA[Fardad&#8216;s code for the RIGHT_KEY part of the io_edit function in ciol.c had some bugs and I&#8217;m trying to fix them. I&#8217;ve made some progress, but it&#8217;s still not perfect&#8230; Here&#8217;s my updated code: case RIGHT_KEY: /* bug fixed! (sort of) goes one space too far after HOME_KEY + DELETE*/ if(str[i + (*curpos) + (*offset [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=35&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://seneblog.fardad.com/">Fardad</a>&#8216;s code for the RIGHT_KEY part of the io_edit function in <a href="https://cs.senecac.on.ca/~fardad.soleimanloo/oop344/notes/11A-Sep24/ciol.c">ciol.c</a> had some bugs and I&#8217;m trying to fix them.</p>
<p>I&#8217;ve made some progress, but it&#8217;s still not perfect&#8230;</p>
<p>Here&#8217;s my updated code:</p>
<pre>
 case RIGHT_KEY:  /* bug fixed! (sort of) goes one space too far
 after HOME_KEY + DELETE*/
		if(str[i + (*curpos) + (*offset +1)]){
		  if(*curpos != fieldlen - 1){
            (*curpos)++;
          }
          else{
            (*offset)++;
          }
		}
        break;
</pre>
<p>as the comment says, the bug happens when you hit BACKSPACE_KEY with the cursor at the HOME_KEY position, after doing that, if you spam the RIGHT_KEY it will always go one space too far&#8230;.</p>
<p>hmmm&#8230;..</p>
<p>EDIT:</p>
<p>made a small adjustment, removed i from str&#8217;s index and it seems to work fine now</p>
<p>updated code:</p>
<pre>
 case RIGHT_KEY:  /* bug fixed! (i hope) */
		if(str[(*curpos) + (*offset +1)]){
		  if(*curpos != fieldlen - 1){
            (*curpos)++;
          }
          else{
            (*offset)++;
          }
		}
        break;
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennyp.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennyp.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dennyp.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dennyp.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dennyp.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dennyp.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dennyp.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dennyp.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dennyp.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dennyp.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dennyp.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dennyp.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dennyp.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dennyp.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=35&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dennyp.wordpress.com/2009/09/26/assignment-1-right_key-bug-fixsorta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fcfba01e0322a0f050ffa3d624b92c08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dennyp</media:title>
		</media:content>
	</item>
		<item>
		<title>My Last Post Took Over an Hour to Make&#8230;</title>
		<link>http://dennyp.wordpress.com/2009/09/18/my-last-post-took-over-an-hour-to-make/</link>
		<comments>http://dennyp.wordpress.com/2009/09/18/my-last-post-took-over-an-hour-to-make/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 04:46:47 +0000</pubDate>
		<dc:creator>dennyp</dc:creator>
				<category><![CDATA[OOP344]]></category>

		<guid isPermaLink="false">http://dennyp.wordpress.com/?p=27</guid>
		<description><![CDATA[It was supposed  to be a quick post about Challenge 1, but I&#8217;m new to this blogging thing, so I wasn&#8217;t sure how to post code in my blog.  I think I&#8217;m supposed to use &#60;pre&#62;&#60;/pre&#62; tags for a block of code but when I used those, the NULL character  didn&#8217;t show up so &#8216;\ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=27&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It was supposed  to be a quick post about <a href="http://zenit.senecac.on.ca/wiki/index.php/OOP344#Week_2_-_Sep_13">Challenge 1</a>, but I&#8217;m new to this blogging thing, so I wasn&#8217;t sure how to post code in my blog.  I think I&#8217;m supposed to use &lt;pre&gt;&lt;/pre&gt; tags for a block of code but when I used those, the NULL character  didn&#8217;t show up so &#8216;\ 0&#8242;(without the space) ended up looking like &#8221; in the post.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennyp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennyp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dennyp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dennyp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dennyp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dennyp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dennyp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dennyp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dennyp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dennyp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dennyp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dennyp.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dennyp.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dennyp.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=27&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dennyp.wordpress.com/2009/09/18/my-last-post-took-over-an-hour-to-make/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fcfba01e0322a0f050ffa3d624b92c08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dennyp</media:title>
		</media:content>
	</item>
		<item>
		<title>My Feeble Attempt at Challenge 1</title>
		<link>http://dennyp.wordpress.com/2009/09/18/my-feeble-attempt-at-challenge-1/</link>
		<comments>http://dennyp.wordpress.com/2009/09/18/my-feeble-attempt-at-challenge-1/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 04:26:59 +0000</pubDate>
		<dc:creator>dennyp</dc:creator>
				<category><![CDATA[OOP344]]></category>

		<guid isPermaLink="false">http://dennyp.wordpress.com/?p=8</guid>
		<description><![CDATA[Thanks to the long summer break, my programming skills are pretty rusty.  Nonetheless, I will attempt Challenge 1. /*void GetInt(char *strint, int val); &#8211; this function gets an integer value and converts it to a string (&#8220;strint&#8221;) */ void GetInt(char *strint, int val){ int len = 0; while(val){ strint[len++] = (val % 10) + &#8217;0&#8242;; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=8&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thanks to the long summer break, my programming skills are pretty rusty.  Nonetheless, I will attempt <a href="http://zenit.senecac.on.ca/wiki/index.php/OOP344#Week_2_-_Sep_13">Challenge 1</a>.</p>
<p>/*void GetInt(char *strint, int val); &#8211; this function gets an integer</p>
<p>value and converts it to a string (&#8220;strint&#8221;) */</p>
<p>void GetInt(char *strint, int val){</p>
<p>int len = 0;</p>
<p>while(val){</p>
<p>strint[len++] = (val % 10) + &#8217;0&#8242;;</p>
<p>val /= 10;</p>
<p>}</p>
<p>strint[len] = &#8221;;</p>
<p>}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennyp.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennyp.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dennyp.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dennyp.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dennyp.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dennyp.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dennyp.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dennyp.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dennyp.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dennyp.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dennyp.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dennyp.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dennyp.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dennyp.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=8&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dennyp.wordpress.com/2009/09/18/my-feeble-attempt-at-challenge-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fcfba01e0322a0f050ffa3d624b92c08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dennyp</media:title>
		</media:content>
	</item>
		<item>
		<title>My first blog post for OOP344</title>
		<link>http://dennyp.wordpress.com/2009/09/18/my-first-blog-post-for-oop344/</link>
		<comments>http://dennyp.wordpress.com/2009/09/18/my-first-blog-post-for-oop344/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 00:04:52 +0000</pubDate>
		<dc:creator>dennyp</dc:creator>
				<category><![CDATA[OOP344]]></category>

		<guid isPermaLink="false">http://dennyp.wordpress.com/?p=3</guid>
		<description><![CDATA[Hey there, This is my first blog and first post for the OOP344 course.  My instructor Fardad says generic generated posts won&#8217;t cut it, so here&#8217;s my attempt at a real blog. Well, that seems like a good start, more posts to come! Stay tuned!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=3&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey there,</p>
<p>This is my first blog and first post for the <a href="http://zenit.senecac.on.ca/wiki/index.php/OOP344">OOP344</a> course.  My instructor <a href="http://seneblog.fardad.com/" target="_self">Fardad</a> says generic generated posts won&#8217;t cut it, so here&#8217;s my attempt at a real blog.</p>
<p>Well, that seems like a good start, more posts to come! Stay tuned!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennyp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennyp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dennyp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dennyp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dennyp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dennyp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dennyp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dennyp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dennyp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dennyp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dennyp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dennyp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dennyp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dennyp.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dennyp.wordpress.com&amp;blog=9442456&amp;post=3&amp;subd=dennyp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dennyp.wordpress.com/2009/09/18/my-first-blog-post-for-oop344/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fcfba01e0322a0f050ffa3d624b92c08?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dennyp</media:title>
		</media:content>
	</item>
	</channel>
</rss>
