heres the program description....
There exist two text files that are not identical with a size of between 100 and 250 characters. Write a c++ program that will read in these two text files, prompt the user for a length factor some value between 5 and 20 and locate similar (words phrases) that are common to both files. print the results of both files and similar words between them.
so basically the program asks for a length factor value between 5 and 20 (lets say 6 which is school) and i have to text files text1.txt and text2.txt (text1 has amy goes to school and text2 has mom goes to school) the program will print school.
HELP ME PLEASE...
i know how to read from a text file but i dont know how to compare it..
thanks.
There exist two text files that are not identical with a size of between 100 and 250 characters. Write a c++ program that will read in these two text files, prompt the user for a length factor some value between 5 and 20 and locate similar (words phrases) that are common to both files. print the results of both files and similar words between them.
so basically the program asks for a length factor value between 5 and 20 (lets say 6 which is school) and i have to text files text1.txt and text2.txt (text1 has amy goes to school and text2 has mom goes to school) the program will print school.
HELP ME PLEASE...
i know how to read from a text file but i dont know how to compare it..
thanks.
Comment