<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A C++ Cheat Sheet</title>
	<atom:link href="http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/</link>
	<description>We eat cats whilst you code.</description>
	<lastBuildDate>Thu, 17 May 2012 00:31:11 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: Ulf</title>
		<link>http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/comment-page-1/#comment-105730</link>
		<dc:creator>Ulf</dc:creator>
		<pubDate>Mon, 22 Aug 2011 13:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.linux.ie/balor/?p=289#comment-105730</guid>
		<description>The link to the file is invalid. It just downloads a zero byte file. Can you please re-upload it? Thanks.</description>
		<content:encoded><![CDATA[<p>The link to the file is invalid. It just downloads a zero byte file. Can you please re-upload it? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean</title>
		<link>http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/comment-page-1/#comment-71536</link>
		<dc:creator>Jean</dc:creator>
		<pubDate>Mon, 05 Oct 2009 16:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.linux.ie/balor/?p=289#comment-71536</guid>
		<description>Doh...  vector open angle bracket Widget close angle bracket ::iterator.  Sorry for messing up your blog page!</description>
		<content:encoded><![CDATA[<p>Doh&#8230;  vector open angle bracket Widget close angle bracket ::iterator.  Sorry for messing up your blog page!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean</title>
		<link>http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/comment-page-1/#comment-71535</link>
		<dc:creator>Jean</dc:creator>
		<pubDate>Mon, 05 Oct 2009 16:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.linux.ie/balor/?p=289#comment-71535</guid>
		<description>Doh!  My comment was processed as html.... I typed vector\::iterator</description>
		<content:encoded><![CDATA[<p>Doh!  My comment was processed as html&#8230;. I typed vector\::iterator</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean</title>
		<link>http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/comment-page-1/#comment-71534</link>
		<dc:creator>Jean</dc:creator>
		<pubDate>Mon, 05 Oct 2009 16:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.linux.ie/balor/?p=289#comment-71534</guid>
		<description>Shouldn&#039;t the C++ vector iterator be declared as &quot;vector::iterator&quot;?</description>
		<content:encoded><![CDATA[<p>Shouldn&#8217;t the C++ vector iterator be declared as &#8220;vector::iterator&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/comment-page-1/#comment-71528</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Mon, 05 Oct 2009 01:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.linux.ie/balor/?p=289#comment-71528</guid>
		<description>Under &quot;Conditional statements&quot; std::end should be std::endl.

Maybe it&#039;s worth mentioning import vs #include, and particularly 

Under &quot;Inheritance&quot;, there&#039;s a missing semicolon after ~Widget().  Also, Widget&#039;s destructor should be qualified as virtual (as should Frob&#039;s - and IWidget&#039;s).

In the right column, you&#039;ve slipped a System.Out.println() into the C++ code.  Also, it may be that correctly defined iterators will have a suitably overloaded operator-&gt; so the (*i). may rightly be i-&gt; ... I don&#039;t recall for sure though.

Also, maybe something on pass by value vs pass by reference.</description>
		<content:encoded><![CDATA[<p>Under &#8220;Conditional statements&#8221; std::end should be std::endl.</p>
<p>Maybe it&#8217;s worth mentioning import vs #include, and particularly </p>
<p>Under &#8220;Inheritance&#8221;, there&#8217;s a missing semicolon after ~Widget().  Also, Widget&#8217;s destructor should be qualified as virtual (as should Frob&#8217;s &#8211; and IWidget&#8217;s).</p>
<p>In the right column, you&#8217;ve slipped a System.Out.println() into the C++ code.  Also, it may be that correctly defined iterators will have a suitably overloaded operator-&gt; so the (*i). may rightly be i-&gt; &#8230; I don&#8217;t recall for sure though.</p>
<p>Also, maybe something on pass by value vs pass by reference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaveMorris</title>
		<link>http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/comment-page-1/#comment-71527</link>
		<dc:creator>DaveMorris</dc:creator>
		<pubDate>Sun, 04 Oct 2009 20:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.linux.ie/balor/?p=289#comment-71527</guid>
		<description>C++ Conditional Statements should be 

std::endl instead of std::end

I thought the vector iteration didn&#039;t have a header at first pass, since I was reading it as three columns down rather than across. Also I didn&#039;t know that C++ had System.out.println ;)

For the inheritance and interface examples, is it worthwhile putting the constructors in?</description>
		<content:encoded><![CDATA[<p>C++ Conditional Statements should be </p>
<p>std::endl instead of std::end</p>
<p>I thought the vector iteration didn&#8217;t have a header at first pass, since I was reading it as three columns down rather than across. Also I didn&#8217;t know that C++ had System.out.println <img src='http://blogs.linux.ie/balor/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>For the inheritance and interface examples, is it worthwhile putting the constructors in?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Mara</title>
		<link>http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/comment-page-1/#comment-71526</link>
		<dc:creator>Paul Mara</dc:creator>
		<pubDate>Sun, 04 Oct 2009 12:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.linux.ie/balor/?p=289#comment-71526</guid>
		<description>I saw Cian mentioning this site on the minds chat room the other day:
http://www.parashift.com/c++-faq-lite/

It looks good so I bookmarked it for myself.

Your students might find it useful.</description>
		<content:encoded><![CDATA[<p>I saw Cian mentioning this site on the minds chat room the other day:<br />
<a href="http://www.parashift.com/c++-faq-lite/" rel="nofollow">http://www.parashift.com/c++-faq-lite/</a></p>
<p>It looks good so I bookmarked it for myself.</p>
<p>Your students might find it useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aidan Delaney (balor) 's status on Sunday, 04-Oct-09 10:10:03 UTC - Identi.ca</title>
		<link>http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/comment-page-1/#comment-71524</link>
		<dc:creator>Aidan Delaney (balor) 's status on Sunday, 04-Oct-09 10:10:03 UTC - Identi.ca</dc:creator>
		<pubDate>Sun, 04 Oct 2009 10:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.linux.ie/balor/?p=289#comment-71524</guid>
		<description>[...] C++ cheat sheet for students http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/ Critique [...]</description>
		<content:encoded><![CDATA[<p>[...] C++ cheat sheet for students <a href="http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/" rel="nofollow">http://blogs.linux.ie/balor/2009/10/04/a-c-cheat-sheet/</a> Critique [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
