I think i'm just blanking at the moment... however I need to get this solved asap, so any ideas/help would be greatly appreciated.
I have a software program written in C++ that extracts data from documents. I need to be able to count the number of documents ( transactions) that occur. I currently can count them, thats easy however I need this running counter not reset everytime the program is run. Meaning say the user had 500 transactions to start, they run the program extract 350 documents, they now have 150 left. They exit and come back later, the program needs to know that there are only 150 transactions allowd to happen now. Make sense?
Thanks in advance!!!
I'd suggest using some form of non-volatile storage like a configuration file or database.