第1关:链栈的基本操作 本关任务是实现链栈的基本操作函数,以实现判断栈是否为空、求栈的长度、进栈、出栈以及获取栈顶元素等功能。 #include <stdio.h> #include<stdlib.h> #include <iostream> using namespace std;