<?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"
	>
<channel>
	<title>Comments on: LGP Development Project Submission: code counter</title>
	<atom:link href="http://www.linuxgames.com/archives/6217/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxgames.com/archives/6217</link>
	<description>Embrace your Inner Penguin</description>
	<pubDate>Sun, 20 Jul 2008 23:38:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Anonymous</title>
		<link>http://www.linuxgames.com/archives/6217#comment-18320</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 28 Feb 2003 13:12:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-18320</guid>
		<description>why not just use wc -c?</description>
		<content:encoded><![CDATA[<p>why not just use wc -c?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.linuxgames.com/archives/6217#comment-18299</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 27 Feb 2003 16:29:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-18299</guid>
		<description>I hate to say it, but this script appears to be buggy, unless I don't understand the requirements correctly.  I ran it on a random C file I had sitting around. Then I copied the C file to a separate file and removed all comments and indentation.  The program should have given the same size for both files, but it told me that the file without comments was 500 bytes larger!</description>
		<content:encoded><![CDATA[<p>I hate to say it, but this script appears to be buggy, unless I don&#8217;t understand the requirements correctly.  I ran it on a random C file I had sitting around. Then I copied the C file to a separate file and removed all comments and indentation.  The program should have given the same size for both files, but it told me that the file without comments was 500 bytes larger!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: reborn</title>
		<link>http://www.linuxgames.com/archives/6217#comment-18283</link>
		<dc:creator>reborn</dc:creator>
		<pubDate>Thu, 27 Feb 2003 08:54:09 +0000</pubDate>
		<guid isPermaLink="false">#comment-18283</guid>
		<description>Heh, actually this wasn't my submission to the "from-scratch project" application system, it was just something to help myself out if I decided to enter :)

Re: "&gt;&gt;" over getline - maybe I should have used that, but to be honest it's been a while since I've worked with cin (also "&gt;&gt;") and couldn't remember the method calls to change cin's behaviour :P</description>
		<content:encoded><![CDATA[<p>Heh, actually this wasn&#8217;t my submission to the &#8220;from-scratch project&#8221; application system, it was just something to help myself out if I decided to enter :)</p>
<p>Re: &#8220;>>&#8221; over getline - maybe I should have used that, but to be honest it&#8217;s been a while since I&#8217;ve worked with cin (also &#8220;>>&#8221;) and couldn&#8217;t remember the method calls to change cin&#8217;s behaviour :P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bdove</title>
		<link>http://www.linuxgames.com/archives/6217#comment-18281</link>
		<dc:creator>bdove</dc:creator>
		<pubDate>Thu, 27 Feb 2003 08:36:21 +0000</pubDate>
		<guid isPermaLink="false">#comment-18281</guid>
		<description>Sumption that the line is no more than 1024 chars long.. 

Rule #1, make no sumptions
(atleast any that you cannot check on the fly)

Why not use "&gt;&gt;" and read the hole thing into string for parsing. You cannot count the \r \f anyway as a chars. 

But nice pease of code anyway .. =D</description>
		<content:encoded><![CDATA[<p>Sumption that the line is no more than 1024 chars long.. </p>
<p>Rule #1, make no sumptions<br />
(atleast any that you cannot check on the fly)</p>
<p>Why not use &#8220;>>&#8221; and read the hole thing into string for parsing. You cannot count the \r \f anyway as a chars. </p>
<p>But nice pease of code anyway .. =D</p>
]]></content:encoded>
	</item>
</channel>
</rss>
