c
zljjava
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C语言 枚举与位运算
C语言 枚举与位运算 在实际问题中, 有些变量的取值被限定在一个有限的范围内。例如,一个星期内只有七天,一年只有十二个月, 一个班每周有六门课程等等。如果把这些量说明为整型, 字符型或其它类型显然是不妥当的。 为此,C语言提供了一种称为“枚举”的类型。在“枚举”类型的定义中转载 2011-10-10 07:11:02 · 1345 阅读 · 0 评论 -
c 预处理
************************************************************ C程序设计 知识纲要--预处理命令小结 Edit By Rogers At 2003-11-01 22:53 共同进步! Rogers ' Email: acegeng@sohu.com *******************转载 2012-03-12 11:50:21 · 1412 阅读 · 0 评论 -
c语言获取当前时间
#include #include void main (){time_t rawtime;struct tm * timeinfo;time ( &rawtime );timeinfo = localtime ( &rawtime );printf ( "\007The current date/time is: %s", asctime (timeinfo) );c转载 2012-06-28 15:17:11 · 3812 阅读 · 0 评论
分享