简单qt计算器
简单qt计算器void Calculator::on_btn1_clicked(){ if (flag == 0) { op0 = op0 * 10 + 1; if (finished == 0) s += "1"; else { s = "1"; finished = 0; } } else { op1 = op1 * 10 + 1; s += "1"; }
用户评论