A program I am writing needs to be able to count how many characters are in a file. I have managed to get it to count the amount of lines, however I am having no joy getting it to count characters correctly. Could somebody give me some pointers on how to do this.