int main()
{
string expStr("-1-1+(-1-(-1)*(7+3)*(-8-(2+1)/3))-5+4"); // you can also try any other expressions
// getline(cin, expStr); // if you want enter the expression in console, remove the first "//" in this line.
Expression::ereaseSpace(expStr);
if( Expression::isValidExpression(expStr))
{
Expression exp(expStr);
double result = exp.doCalculation();
cout<<"result: "<<result<<endl;
}
return 0;
}