(C 语言)10 进制转换 2,8,16 进制
作者:vinseven
#include"stdio.h"
#include"conio.h"
#include"malloc.h"
#include"windows.h"
#define ElemType int
void menu();
void TenToTwo();
void TenToEight();
void TenToSixteen();
void InitStack(struct sNode **HS);
void Push(struct sNode **HS,ElemType x);
ElemType Pop(struct sNode **HS);
ElemType Peek(struct sNode **HS);
int EmptyStack(struct sNode **HS);
void ClearStack(struct sNode **HS);
int ten;/*要输入的 10 进制数*/
int x;/*把将要插入到栈中的元素暂时存进 x 中*/
struct sNode hs;
struct sNode