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

This is a discussion on How to find the number of lines in an Input file? within the C++ Programming forums, part of the General Programming Boards category; How to find the number of lines in an Input file in c++?...

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    134

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

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

  2. #2
    Registered User
    Join Date
    Sep 2008
    Posts
    48
    Newline - Wikipedia, the free encyclopedia
    Count the number of occurences of the line breaker and you should have the number of lines.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Line Counting
    By 00Sven in forum C Programming
    Replies: 26
    Last Post: 04-02-2006, 08:59 PM
  2. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 01:53 AM
  3. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  4. Replies: 3
    Last Post: 06-25-2003, 04:29 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 01:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21