妙不可言的算法之栈的操做

/* 将一个2进制数,从2进制转化为十进制(栈的基本操做) */ #include <stdio.h> #include <stdlib.h> #include <math.h> #define STACK_INIT_SIZE 20 #define STACKINCREMENT 10 typedef char ElemType; typedef struct { ElemType
相关文章
相关标签/搜索