链式栈的操作和顺序栈的操作相同,只是在实现上利用了链表的优点进行改进;
link_stack.h
#ifndef _LINK_STACK_H
#define _LINK_STACK_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define STACK_ERR (-1);
#define STACK_SUCCESS 0
#define
链式栈的操作和顺序栈的操作相同,只是在实现上利用了链表的优点进行改进;
link_stack.h
#ifndef _LINK_STACK_H
#define _LINK_STACK_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define STACK_ERR (-1);
#define STACK_SUCCESS 0
#define