经评论更改后
收起
写错了,应该是
#include <QString>
case '^':这里:
c = pow(a,b);//pow是小写,switch case中不能声明变量,所以去掉double这个类型
报告相同问题?