1 //Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> //一个能处理四则运算的程序,实现语言C++,支持嵌套括号,可以处理实数,源码见下面: 2 #include<iostream> 3 #include <stdio.h> 4 #include <string.h> 5 6 #include<cmath> 7 using namespace std; 8 const int MAX=1000; 9 10 11 12 class Input 13 { 14 public: 15 Input() 16 { 17 for( int i = 0;i < MAX;i++ ) 18 Str_input[i] = '