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

  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, 02: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, 02:58 AM