main.c 文件#include <stdio.h> #include "stack.h" int main(void) { char *str = "abcdefghijklmn"; init_stack(3); //创建动态栈 while (*str != '