#include //cout,cin using namespace std; #include "LinkStack.h" void dispmenu() {//显示主菜单 cout< * S; system("cls"); // 清屏 int choice; do { dispmenu(); //显示主菜单 cout<<"Enter choice(1~6,0 退出):"; cin>>choice; switch(choice) { case 1: //初始化链栈 InitStack(S); cout<>e; cout<