C
文章平均质量分 78
早迎朝阳晚迎星光
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
another test
目录: 1.一些被认作函数的宏 2.关于printf的一个测试 3.%c与%1s的测试 4.FILE的定义 5.标准输入输出 6.ferror 7.ferror的孪生兄弟feof 8.exit 9.calloc与malloc的小区别 10.free 11.isupper --------------------原创 2014-01-21 14:23:00 · 751 阅读 · 0 评论 -
溢出判断<求最值的方法>
前言 数字在计算机中采用补码表示,以int来表示其范围[-2^31, 2^31-1]。具体细节不谈了,如果求int的最小值呢?当然limits.h中有定义。 如何求最值 上代码吧! #include #include using namespace std; int main() { int i = 1<<31; int j = -i-1; if(i == INT_MIN) {原创 2014-03-12 11:15:52 · 999 阅读 · 0 评论 -
单链表C语言实现(Need edition)
CODE:Cyuyan #include #include #include typedef int ElemType; typedef struct _ListNode{ ElemType data; struct ListNode* next; }ListNode; ListNode * initSList(); int isEmpty(ListNode *hea原创 2014-07-11 16:01:53 · 913 阅读 · 0 评论
分享