find if the word exist in the text file

 Please can anybody help me? I'm a beginner .
 I need to write a c++ program that does the following :

1. Ask the user to enter two text file , the the first one contains a list of words in one column Regardless of their number , second one contains the text file    ,like this:
        //output

   Enter the keywords file: keywords_file.txt
   Enter the text file: text_file.txt

   2.Search for the keywords from the keywords file in the text file

    3.if the keyword exist the output =1 "true", if the keyword doesn't exist output =0 "false" ,like this :

    system  : 1  //its exist

   book : 0   //its doesn't exist



   4.  Then output in new text file (ofstream)


   I put the words in file each one on its own line because some of them are phrases I don't want to sprit them ,search them as one word , also the test            file I want it to stay as complete text not separate words from each other so possibly I cant use "map" & "vector". I already tried them...so possibly I can consider that each word in the words file just a line and read them all , then search for them in the text file

find the appearance of words from input text file ,in other text file

Hi..please can anybody help me..im beginner and i have a hard assignment
i need to write a c++ program that do the follwoing :

1.aske the user to enter two text file the first one containe the text file ,the second one contain list of words in one column Regardless of their number
like this :
Enter the text file : text_file.txt
Enter the keywords file : keywords_file.txt

2.search for the keywords from key words file in the text file
3.find the apperancse of each word like this :

system : 55 times
analysis :21 times

4.the output in new text file (ofstream)