摘要:        
#include #include using namespace std;void StrAssign(char *T){	char ch;	int i=1;	cout>ch&&ch!='0') { T[i++]=ch;	}	T[0]=i-1+'0';	coutT...    阅读全文
posted @ 2018-11-05 22:03
xyee
阅读(131)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include #include using namespace std;void StrAssign(char *T){	char ch;	int i=1;	cout>ch&&ch!='0') { T[i++]=ch;	}	T[0]=i-1+'0';	coutT...    阅读全文
posted @ 2018-11-05 22:01
xyee
阅读(432)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include #include using namespace std;struct SqStack {	char *base;	char *top;};int cmp[10][10] = {	{'>','>','','>'},//+	{'>','>','','>...    阅读全文
posted @ 2018-11-05 21:59
xyee
阅读(798)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include #include using namespace std;const int INIT_SIZE=100;const int INCREASE=10;struct SqStack {	int *base;	int *top;	int stacksiz...    阅读全文
posted @ 2018-11-05 21:57
xyee
阅读(163)
评论(0)
推荐(0)
        
            
        
        
摘要:        
逆波兰表达式是一种把运算符前置的算术表达式(其实一般教科书上称这种表达式为波兰表达式),例如普通的表达式2 + 3的逆波兰表示法为+ 2 3。逆波兰 表达式的优点是运算符之间不必有优先级关系,也不必用括号改变运算...    阅读全文
posted @ 2018-11-05 21:54
xyee
阅读(282)
评论(0)
推荐(0)
        
            
        
        
摘要:        
逆波兰表达式是一种把运算符前置的算术表达式(其实一般教科书上称这种表达式为波兰表达式),例如普通的表达式2 + 3的逆波兰表示法为+ 2 3。逆波兰 表达式的优点是运算符之间不必有优先级关系,也不必用括号改变运算次序,例如 (2 + 3) * 4的逆波兰表示法为* + 2 3 4。本题求解逆波兰表达    阅读全文
posted @ 2018-11-05 21:54
xyee
阅读(501)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号