- 博客(1)
- 收藏
- 关注
原创 c语言之结构体和栈实现十进制转化成二进制
十进制转化成二进制的方案有很多,下面给出一种:#include <stdio.h> #include <stdlib.h> #define LEN 50 struct stack { int top; int data[LEN]; }; struct stack mystack = {0, {0}}; //函数声明 int push(int num); //入栈...
2018-04-09 11:08:22 1393
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人