數據結構與算法筆記 lesson 10 棧 二進制轉換十進制

使用棧將二進制轉換爲十進制code     將二進制的每一位從棧裏讀出再計算get #include <stdio.h> #include<stdlib.h> #include<math.h> #define STACK_INIT_SIZE 20 #define STACKINCREMENT 10 typedef char ElemType; typedef struct {
相關文章
相關標籤/搜索