会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lucyjiayou
学习笔记
博客园
首页
新随笔
联系
管理
订阅
2010年12月16日
C++ 计算时间间隔,精确到毫秒
摘要: #include <time.h>clock_t start,ends;start=clock();system("pause");ends=clock();cout<<ends-start<<endl;time_t 获得时间只能精确到秒,clock_t 获得时间能够精确到毫秒
阅读全文
posted @ 2010-12-16 15:39 lucyjiayou
阅读(12454)
评论(2)
推荐(1)
公告