2.1鏈式棧

#include<iostream> using namespace std; //結點結構 typedef struct node { int data; struct node *next; }StackNode,*PStackNode; //棧 typedef struct { PStackNode top; }LinkStack,*PLinkStack; //初始化棧 PLink
相關文章
相關標籤/搜索