![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C
文章平均质量分 55
NOTPIG
这个作者很懒,什么都没留下…
展开
-
bool类型
bool类型 今天在linux下编译了一个简单的C程序,用到了bool类型,习惯性的只写了头文件stdio.h。编译的时候报错:error: syntax error before "fuction",是语法错误。在C Primer Plus第五版(中文版)的46及577页均有对布尔类型的说明,其中577页的说明比较简练明了: C99的布尔类型是原创 2010-04-25 19:52:00 · 12574 阅读 · 0 评论 -
Linux 下getch()和getche()
Linux下getch()和getche()I would recommend never mixing input techniques in a program. Dont mix fgets() or scanf() with getchar(). Dont mix any standerd C library原创 2010-04-30 22:59:00 · 2833 阅读 · 0 评论 -
i++循环与i--循环的执行效率
i++循环与i--循环的执行效率 参考:http://www.limodev.cn/blog CPSR(current program status register):程序状态寄存器,在用户级编程时用原创 2010-05-30 18:33:00 · 568 阅读 · 0 评论 -
i++循环与 i--循环的执行效率
i++循环与i--循环的执行效率<br /> 参考:http://www.limodev.cn/blog<br /> CPSR(current program status register):程序状态寄存器,在用户级编程时用于存储条件码。<br /> CPSR包含条件码标志等。<br /> CPSR的条件标志位:<br /原创 2010-06-02 20:16:00 · 565 阅读 · 0 评论