program to determine amount of letters, words and lines in a text file.

Hi guys,

Sorry to bother everybody, but I'm afraid I'm here again asking for advice. I need to make a program to count how many lines, words and letters are in a text file. I really don't know where to start with this. If somebody could give me a few pointers on how to do it, I would be very grateful.

Thanks :)
Please don't post duplicates of topics.
Sorry I posted here first then I thought it was in the wrong forum ( As I am beginner)
It doesn't matter where you post, only post once.
Topic archived. No new replies allowed.