整数中缀表达式求值
摘要:
#include<stdio.h>#include<stdlib.h>#define MAX 50typedef struct{ char data[MAX]; int top;}stack;typedef struct{ float data[MAX]; int top;}fstack;stack* create(){ stack *s; s=malloc(sizeof(stack)); s->top=-1; return s;}fstack* fcreate(){ fstack *s; s=malloc(sizeof(fstack)); s->top=- 阅读全文
posted @ 2012-08-04 00:28 ma1076492641 阅读(200) 评论(0) 推荐(0) 编辑