ok i need a little c app that will cross check 2 text files and make changes to one of those files accordingly.
i have one text file with all the file names i SHOULD have, and another text file with all the names of the files i DO have. heres a few lines from each respectivly;
so if you notice the first 9 characters from the second file are the names from the first but with a suffix rX.tif. the rX being the revision number which isnt important. But if you compare the file names you will notice that the second file is missing some of the names from the first file.. I need an app that will compare the files and if the name is missing from the second file it will add a new line, making a space for where the name should be so when i compare them side by side it will look like:
pretty straight forward eh? but i am a bit off a noob when it comes to programming. if anyone can just gimme a bit of a hand, a few lines off code and such ill be able to throw something together. The text files are 3300+ lines so i dont want to have to go down manualy and do it.