#ifndef __LINKSTACK_H__ #define __LINKSTACK_H__
#include <stdio.h> #include "LinkStack.h"
#include "stdio.h"
typedef int StackData;
typedef struct _node
{
StackData data;
struct _node *next;
}Node;
typedef struct _linkStack
{
Node *top;
}Link;
Link *creat() { Link* node = (Link*)malloc(sizeof(Link0/ sizeof(char)); if (node == NULL) return FALSE; node->top = NULL; return node; }