Can't figure out how to print out number of lines and words in a file in c++

Printable View