Home Forums C Programming How to count characters from text file

Viewing 2 reply threads
  • Author
    Posts
    • #2088
      rahul bansal
      Participant

      How to count characters from text file ….counting number of character occured from a file(txt)..line by line

      please

    • #3373
      Humayan
      Participant

      If you just want to count all the characters , you can do:
       

    • #3374
      Priyansh Agrawal
      Participant

      Count each line, voila: (you can pass the filename/path as the first argument)

Viewing 2 reply threads
  • The forum ‘C Programming’ is closed to new topics and replies.