![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 77
mingchan
这个作者很懒,什么都没留下…
展开
-
树的镜像(反转)
#include typedef struct BCTreeNode // { int Value; // struct BCTreeNode *left_child; //原创 2011-09-23 21:05:35 · 915 阅读 · 0 评论 -
实现字符串到整形的转换
考虑: 1.考虑各种边界条件 2.考虑 正负数 3.考虑整数 相加 溢出,注意 负数和整数的表示范围不同。负数最小数是 -(正数最大值+1) int StrToInt(const char* str) { int num = 0; #defi原创 2011-09-23 21:12:06 · 982 阅读 · 0 评论