会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
shenlanzifa
博客园
首页
新随笔
联系
订阅
管理
2014年3月20日
VC++获得当前系统时间的几种方案
摘要: //方案- 优点:仅使用C标准库;缺点:只能精确到秒级 #include #include int main( void ) { time_t t = time( 0 ); char tmp[64]; strftime( tmp, sizeof(tmp), " ...
阅读全文
posted @ 2014-03-20 19:12 shenlanzifa
阅读(196)
评论(0)
推荐(0)
编辑