I am making a company database system using c++.
I want that my information gets updated with passage of time.
eg. if i enter an employee's basic pay his/her yearly increment gets automatically added to their basic
Please help i searched everywhere, used everything but can't find a good solution...................
That's just one of those things you have to check every time the program is started. Or, if it is always running, you'll just have to check the time regularly and see if it is time to update someone's records.
Unless you have millions of employees, you should be able to do a lazy search in less than a day (so that everyone is updated by the end of the day).
Actually you can do this. However, the relevance of C++ to this is non-existent.
Most database servers allow you to setup Triggers or scheduled jobs. You can use one of these to run yearly and incremement/modify anything that needs to be done.
You have to remember that the front end on 90% of database apps merely reads/writes data.