0

C++ find a word in a file.text

I need to find a certain word in a file.txt then once found print the word right next to it. I can read and print all lines but unable to pull exact words.

1st Jul 2021, 3:22 AM
Joe Philavanh
Joe Philavanh - avatar
1 Answer
+ 3
Save that code that reads all lines here in SoloLearn, and share its link in your thread's Description. People can hardly suggest anything until they get a view of your code to understand what to suggest. Follow this simple guide to share a saved code https://www.sololearn.com/post/75089/?ref=app
1st Jul 2021, 4:35 AM
Ipang