Ok, so what I have right now is a c++ program that does work (replacing things) to files. The thing i need to do now is run this program on a folder. Pretty much run it on all .cpp and .h files in the folder. the program runs like :
so how do i recursively change that filename for each file in the folder/location of the program.