How to find the number of lines in an Input file in c++?

Printable View

- 08-17-2010kapil1089thekinHow to find the number of lines in an Input file?
How to find the number of lines in an Input file in c++?

- 08-18-2010like_no_other
Newline - Wikipedia, the free encyclopedia

Count the number of occurences of the line breaker and you should have the number of lines.