我试着做一个循环来获得y=之后的第一个数字,但是有时term1coffs的值是: 65(有时值是: 65,不带括号?!
std::string fx = cwin.get_string("Enter a polynomial formula that has a form like this: y=1(x^3)+2(x^2)+0.5(x^1)+1");
std::string j;
//j is a condition to end for loop
int n=2;
std::string term1coffs;
//to get the number b