© 1999-2048 dssz.net 粤ICP备11031372号
[C/C++] C++的一个倒计时器的源码
说明: time_t start, finish; struct tm finish_t; double elapsed_time; int day,hour,minute,second; _tzset(); finish_t.tm_year = 111; finish_t.tm_mon = 0; // 取值0到11,4月的话应该是3 finish_t.tm_mday = 1; // 取值1到31 finish_t.tm_hour = 0; // 取值0到23 finish_t.tm_min = 0;<kuqidedao51> 上传 | 大小:835byte