Ctrl + D I think.

On Fri, Feb 25, 2011 at 11:09 AM, Kenneth Gonsalves
<law...@thenilgiris.com>wrote:

> hi,
>
> I have a C program that counts newlines. Running it from the console,
> the newline counter increments each time enter is pressed. Now I need to
> send EOF to make the program print the total number of lines. How do I
> do that?
>
> ref: K&R 1.5.3
> --
> regards
> KG
> http://lawgon.livejournal.com
> Coimbatore LUG rox
> http://ilugcbe.techstud.org/
>
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to