Home > Back-end > Timing for help, write small programs
Timing for help, write small programs
Time:09-22
Wrote a demining small programs, and now I want to give it to add a timer function, can realize the timing starts from the time they are playing games, to show the total at the end of the time, But I don't know how to display the total available,,, Please everyone a great god help, just not in the console, By the way, ask again, can use messagebox display?
CodePudding user response:
It is always the starting time of the end time minus, what development tools do you use?
CodePudding user response:
#include
//program at the beginning of the Starttime=time (NULL); //program at the end of the Endtime=time (NULL)