会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
code for fun
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2011年4月13日
计算程序运行时间(C语言)
摘要: #include<time.h>clock_tstart,end;doubleduration;start=clock();//dosomethingend=clock();duration=(double)(end-start)/CLOCKS_PER_SEC;//秒
阅读全文
posted @ 2011-04-13 22:44 xueda120
阅读(159)
评论(0)
推荐(0)