title: Find words in files c++
body: <p>I want to find a certain word by searching all files in a folder, example below find a certain word by searching all files in a folder, example below...</p>
  <p>I have a path to file1, file2 and file3</p>
  <p>In file1 contains word &quot;Apple&quot;
  In file2 contains word &quot;Orange&quot;
  In file3 contains word &quot;Banana&quot;</p>
  <p><a href="https://i.stack.imgur.com/2FHQ2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2FHQ2.png" alt="Here is the screenshot" /></a></p>
  <p>I want my program to say the file that contains the word &quot;Banana&quot;
  Anyone know?, My Code is in C++</p>