Hello..
I would like to make a program which accesses two files, one is a spreadsheet file(.xls or .ods extension) and the other is a xml file.
Basically what the program does is just a find and replace program. The spreadsheet file would only contain values on two columns. Then the program will look-up values on the xml file and try to find the value on the first column then replace them with the values on the second column.
For example the spreadsheet has the following values on its 1st and 2nd column like below
1 2 3 4
|
1st Column
dogs
cats
zebra
|
1 2 3 4
|
2nd Column
blue
yellow
orange
|
and the xml file has a sentence like below
Inside the house has a lot of dogs and cats. But what will surprise you is that they also have a zebra.
So when you try to execute the program it will modify the xml file and replace the words --> dogs, cats, and zebra with the words on the 2nd column.
So the resulting sentence would be like
Inside the house has a lot of blue and yellow. But what will surprise you is that they also have a orange.
Can someone help me with this. I don't know how to start this since I'm a noob on programming and in fact C++ is my first programming language. And right now I'm only at the classes section of the tutorial here. I don't have any idea of how to access windows files.
So if possible can someone give me what commands will I try to learn so I can make an .exe that will execute this program.
I thought of asking this here cause I think the commands needed here is very simple that even a noob like me can easily learn,because it is just a find and replace program.