![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++程序
文章平均质量分 63
豆先生
这个作者很懒,什么都没留下…
展开
-
单链表的逆转
#include using namespace std; void ReverseList(List L) { if(L == NULL) return; pNode p = L->next; L->next = NULL; while(p) { pNode q = p;原创 2014-05-16 16:56:45 · 372 阅读 · 0 评论 -
c++ 整型最大值与最小值
1.使用stl库 cout::max() cout::min() cout::infinity() 2.包含头文件climits cout cout 3.由于在32位机上 int的最大值二进制表示为:01111111 11111111 11111111 11111111 即2^31-1 int的最小值二进制表示为:10000000 00000原创 2015-08-03 14:15:31 · 4206 阅读 · 0 评论