0001 #include <stdio.h> 0002 #include <stdlib.h> 0003 #include <string.h> 0004 #include <math.h> 0005 0006 #include "stack/stack.h" //ʹջ 0007 #include "priority.h" 0008 0009 __int64 facI ( int n ); 0010 float calcu ( float a, char op, float b ); 0011 float calcu ( char op, float b ); 0012 void displayProgress ( char*, char*, Stack<float>&, Stack<char>&, char* ); 0013 void readNumber ( char*&, Stack<float>& ); 0014 Operator optr2rank ( char ); 0015 char orderBetween ( char, char ); 0016 void append ( char*&, float ); // 0017 void append ( char*&, char ); // 0018 float evaluate ( char* expr, char*& rpn );