I have an assignment that needs me to read in a file that is a source code in a .txt file. Then read in a file listing c++ keywords. Examine the first file for those keywords and convert them to lowercase and export the new file into a .cpp file.
I can read in the 2 files and generate the output file, but have come to a road block with the following
1) comparing the keywords from file2 with file1 keywords and changing the case in file1.
2) Keeping the format when exporting to the .cpp file (currently it only acknowledges words (skips the special characters).
I'm just looking for a push in the right direction (thats why I'm not including code).
thanks