2014年1月22日

摘要: Redhat Enterprise Linux 32Redhat Enterprise Linux 64 阅读全文
posted @ 2014-01-22 19:32 刘宝成 阅读(160) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/ce123_zhouwei/article/details/6978672 阅读全文
posted @ 2014-01-22 19:16 刘宝成 阅读(129) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/ce123_zhouwei/article/details/6971544 阅读全文
posted @ 2014-01-22 19:14 刘宝成 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 学过C语言的都知道有个time函数可以计算时间,也好像知道time(NULL)返回的是一个距离1970年1月1日0时0分0秒的秒数。#include #include int main(void){ printf("%d\n", time(NULL)); return 0;}运行结果:1390351382乍一看,说法不假,还真是那么一个秒数。还有不相信的,进一步把秒数、分钟数、小时数分别取出来。#include #include int main(void){ int t, s, m, h; t = time(NULL); // 秒 s = t % 60; ... 阅读全文
posted @ 2014-01-22 09:05 刘宝成 阅读(1871) 评论(0) 推荐(0) 编辑

导航