<?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>chenstopher.com &#187; c++</title>
	<atom:link href="http://www.chenstopher.com/tag/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chenstopher.com</link>
	<description></description>
	<lastBuildDate>Sun, 05 Feb 2012 04:20:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Freaking Hash Tables</title>
		<link>http://www.chenstopher.com/freaking-hash-tables/</link>
		<comments>http://www.chenstopher.com/freaking-hash-tables/#comments</comments>
		<pubDate>Fri, 01 May 2009 21:01:19 +0000</pubDate>
		<dc:creator>chenstopher</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[cse214]]></category>
		<category><![CDATA[disappointment]]></category>
		<category><![CDATA[hash table]]></category>
		<category><![CDATA[stony brook]]></category>

		<guid isPermaLink="false">http://www.chenstopher.com/freaking-hash-tables/</guid>
		<description><![CDATA[I just took my CSE214 test. There were three questions with two parts each. We had to write some methods for some data structures. I breezed by the first two and thought I finished the third but for some stupid reason, it wouldn’t work. I sat there debugging this one stupid thing for at least [...]]]></description>
			<content:encoded><![CDATA[<p>I just took my CSE214 test.</p>
<p>There were three questions with two parts each. We had to write some methods for some data structures. I breezed by the first two and thought I finished the third but for some stupid reason, it wouldn’t work.</p>
<p>I sat there debugging this one stupid thing for at least an hour. I couldn’t figure out why the stupid chained hash table was inserting null entries when I tried to add something into it. Eventually, I had enough and deleted everything and started over. Took me two minutes to rewrite the method and it finally worked! I tested it with the grade calculator that the teacher gave us and I got 15 out of 15.</p>
<p>I wanted to get out of there so I quickly handed in the files and the paper, left the computer lab, walked downstairs and out the building. Then I remembered something super important that I forgot to do: update the hash table’s size.</p>
<p>FUCK.</p>
<p>I couldn’t go back and add it, I had already left the exam area and handed it in. I felt so dumb. I just couldn’t shake the fact that I had forgotten something totally stupid and now I won’t get perfect scores on all the tests I’ve taken for that class. Yeah, it sounds lame that I am worried about something like that. But I already forgot to hand in the last hw on time (luckily I was allowed to hand it in late). And this comp sci stuff is probably the one of the only things I’m good at so I’m feeling kind of mad at myself ‘cause I forgot to do it.</p>
<p>Now I have to ace the final. Too bad it’s multiple choice. I hate multiple choice comp sci exams.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chenstopher.com/freaking-hash-tables/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I Give Up On C++/DirectX</title>
		<link>http://www.chenstopher.com/i-give-up-on-cdirectx/</link>
		<comments>http://www.chenstopher.com/i-give-up-on-cdirectx/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 07:42:40 +0000</pubDate>
		<dc:creator>chenstopher</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[directx]]></category>
		<category><![CDATA[game programming]]></category>
		<category><![CDATA[nikujin]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.chenstopher.com/i-give-up-on-cdirectx/</guid>
		<description><![CDATA[Yeah. I think I’m just gonna do C# and XNA game programming. Seems a whole lot easier and I won’t have to manage memory. Sure, C#/XNA is slower but I don’t think it matters when the games I want to make are gonna be 2D. When I move on to 3D I think I’ll try [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah. I think I’m just gonna do C# and XNA game programming. Seems a whole lot easier and I won’t have to manage memory.</p>
<p>Sure, C#/XNA is slower but I don’t think it matters when the games I want to make are gonna be 2D. When I move on to 3D I think I’ll try C++/DirectX again. I can’t really find any decent online resources for DirectX right now and I don’t feel like buying a book. </p>
<p>I’ll probably take the game programming course here at Stony in a later semester. The teacher is cool and having someone guide you through it is a whole lot easier. Wish they had it when I was at Tech. Screw you weird name people, Ariel and Aljohn. Oh and Lukasz.</p>
<p>This kid Allen(?) is starting up a game programming club so I’m gonna be joining that. He seems pretty awesome at programming, much more knowledgeable than I who only knows Java and a bit of C++ (and php/html/css/js). It’ll be fun. I hope.</p>
<p>So anyway, I’ve starting learning C# and it’s a lot like Java. That’s kind of a good thing since Java’s pretty easy. Still deciding on game to start off with.</p>
<p>Snake? Space Invaders? Tetris? PONG?!</p>
<p>For the sake of randomness. Here’s a video of one of the <a href="http://tigsource.com/articles/2007/06/11/nikujin">best games ever</a>.</p>
<p align="center"><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/Fo6p40RpzrU&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Fo6p40RpzrU&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chenstopher.com/i-give-up-on-cdirectx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

