摘要: #include#include#define LEN sizeof(linkstack)typedef struct node{ int data; struct node *next;}linkstack;linkstack *push(linkstack *top,int x);void print(linkstack *top);void main(){ linkstack *top=(struct node*)malloc(LEN); top->next=NULL; top->data=-99; int x; prin... 阅读全文
posted @ 2013-08-13 11:00 yexuannan 阅读(947) 评论(0) 推荐(0) 编辑