my program is to open a input file,
i do not know what words is in the file,
and i have to open a command file (a text file),
the command file is to tell the program what word to search and what to do,
also i do not know what those command is,
the program have to follow the command and to search for the word inside input file,
and to add/replace the specified words..
finally output the corrected text in a new text file.
how can i do that? i am new in c++.