Click here to Skip to main content
15,913,669 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
how do i use the time function in c++?
The idea is to create an application which stops working after a certain time period and cannot be started again.
Posted
Comments
Sergey Alexandrovich Kryukov 7-Jun-12 16:05pm    
Just a note: the problem is not "use the time function at all"...
--SA

 
Share this answer
 
You can do this :
after starting the application you can store your starting time in somewhere else. such as registry remote server. then everytime and store ending time in the registry or in the server. then everytime it starts it summarize the time and check out if the certain period is over or not. still there is more tricks to do
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900