hi guys, new here...seems like a very helpful site...
so on with the question.
I was asked to write a program using the argc and argv cmd line arguments and also freopen.
here is what is has to do
3 txt files are the cmd line arguments
using the str commands, I have to somehow search through one txt file which is a written paragraph looking for a <tag1> then a <tag2> and then replace them with what is in the secon text file whick looks like this:
of course I cannot show the tags, only the example when replace which is written to the 3rd txt file.
I get the cmd line and freopen stuff no prob, I am just very very weak with strings.