整数中缀表达式求值
摘要:#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
浙公网安备 33010602011771号