Question: Please try and complete the rest of the code for it to work as it should. Desription of how the code should be able to

Please try and complete the rest of the code for it to work as it should. Desription of how the code should be able to compile. Thank you

Please try and complete the rest of the code for it towork as it should. Desription of how the code should be able

// Description: This program will prompt the user for both an input and an // output file name. Afterwards, it will prompt for a target word. /1 The program opens the file and reads all the words in the file and keeps // track of how many times that word appears. It writes (appends) the word // and the number to the output file. It continues this until the user // types "exit". #includedstream #include&fstream> #include string> using namespace std; //This function opens the output file to append the word and count on a new line bool WriteblordToFile (string outputFile, string searchWord, int wordCount) return false; //This function opens the inputfile and searches for the word. It returns //the number of times the word appears. It assumes that it is case sensitive //and that there is no punctuation. Thus, the simple extraction operator can //be used. int SearchFile(string inputFile, string searchWord) return 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!