- 博客(1)
- 收藏
- 关注
原创 C语言 双向链表处理大数加减
处理无符号大数加减 处理有符号大数加减 处理有符号大数加减 1.定义的结构体 struct Node { int digit; //数字 struct Node *next, *prev; //前后指针 }; struct UBigNumber { int digitCount; //位数 struct Node *pHead, *pTail; //指向头结点和尾结点 }; 2.定义的函数: //动态分配1个结点,返回结点指针 //当分配失败时,简化程序,退出运行
2021-03-24 12:55:34 1677 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人