摘要:
1.如果只是要计算程序运行的时间,不需要那么复杂。<windows.h> 中的 GetTickCount() 就是干这个的。TimeStart=GetTickCount(); ....... TimeEnd=GetTickCount(); TimeUsed=TimeEnd-TimeStart;2. #include<stdio.h>#include<time.h>#include<conio.h>int main(){time_t stime , etime ;time( &stime ); /* get start time */get 阅读全文
posted @ 2012-12-25 20:24
csonezp
阅读(13334)
评论(0)
推荐(0)

浙公网安备 33010602011771号