Google
 
Webcprogramming.com




An Affiliate of AIHorizon




Line Count Challenge

Here's a simple help free challenge to get you started: write a program that takes a file as an argument and counts the total number of lines. Lines are defined as ending with a newline character. Program usage should be

count filename.txt
and the output should be the line count.



View Solution



Bookmark and Share



-----
Interested in advertising with us?
Please read our privacy policy.
Copyright © 1997-2006 Cprogramming.com. All rights reserved.