c++ code to count and print the number of lines,words,and word frequencies in the file

Recommended Answers

All 2 Replies

Also, please don't ask us to do your work or homework for you without making an honest effort to solve the problem first. @rproffitt was being nice in providing a couple of relevant links for you to review. In any case, these are very simple problems. The math is well-known. You just need to apply that to some simple (very simple) computer code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.