Hello guys, I need to make a program that counts the number of times a particular word appears in a text file on a line. For example, the User chooses the word "test" to be told at the end of each line of txt should show how many times that word appeared in the line. I started doing the program but I have questions regarding how this string and look. Would make str str?
Thundermax 0 Light Poster
gayatrifabricat 0 Newbie Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
Thundermax 0 Light Poster
Adak 419 Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.