Loading

摘要: #includeint count=0;void move (int n,char x,char y){ printf("第%d次,将%d号盘从%c移到%c上\n",++count,n,x,y);}void hanoi(int n,char A,char B,... 阅读全文
posted @ 2018-11-02 18:03 cheney-pro 阅读(47) 评论(0) 推荐(0)
摘要: 其实也是顺序表的一种特殊的操作,实际操作个人觉得要比顺序表还简单。上代码看看: #include#include#define OK 1#define ERROR 0typedef struct { int *base; int *top; int stack... 阅读全文
posted @ 2018-11-02 11:16 cheney-pro 阅读(69) 评论(0) 推荐(0)