[Ilugc] how to send EOF

  • From: lawgon@xxxxxxxxxxxxxxx (Kenneth Gonsalves)
  • Date: Mon, 28 Feb 2011 07:38:07 +0530

On Sat, 2011-02-26 at 13:50 +0530, Raja Subramanian wrote:

On Fri, Feb 25, 2011 at 11:09 AM, Kenneth Gonsalves
<lawgon at thenilgiris.com> wrote:
I have a C program that counts newlines.

The algorithm for counting the number of lines in a text file
is tricky.  How exactly are you planning to do this? 

this is one of the examples in K&R
-- 
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/


Other related posts: