I just want to post this here, cause once i get an up and running version of my code, i will post it here to get some help with it.
Write a program that reads a text file and reports the number of characters, lines and words contained in the file. Use a GUI.
File I/O is set up to read the text file
Uses FileReader class
Uses BufferedReader stream
Uses readline() to get a line of data, loop to read all the data.
Counts lines
Counts characters
Count words using a StringTokenizer
Program compiles and runs correctly. Follows coding standards.


Reply With Quote
. Didn't count the words though.