I'm not aware of a way to do this in C++ alone, but I have done something similar with a macro program.
There are lots of macro programs, and you can write a C+ program to make the commands for the macro from your list of numbers which will speed things up quite a bit.
The program I have used in the past is
http://www.actool.net/.
First, convert the word doc to a .txt doc, You'll make a macro to do one number, Test, determine all the little things to put in the macro, then write a C+ program to make a complete macro using your daily list, inserting a number where it goes.
Then run the macro and go get a cup of coffee.
If the program you use is on the internet, I could take a look, else maybe a screenshot.
If you want a single program to do it all for you, it would take a bit more programming than I know how to do currently but I do think it's possible.