Can somebody write the following program for me:
Write a program to analyze a file and display various statistics about it. The analysis should be
performed by a class called FileAnalyzer, which accepts the file name of a file to analyze via its
constructor, and has member functions returning details about it:
- GetLineCount() returns the number of lines in the file,
- GetCharacterCount() returns the total number of characters in the file,
- GetSpaceCount() returns the number of space characters in the file (newline, tab, and space).
Please, it's urgent and I have no idea what to do. :(( Somebody please help me.
↧