void C计算器测试11版本Dlg::OnClickedButton1()
{
char a[10], b[10], c[10];
double a1, b1, c1;
m_a.GetWindowText(a, 10);
m_b.GetWindowText(b, 10);
a1 = atof((lpctstr)a);
b1 = atof((lpctstr)b);
c1 = a1 + b1;
_ gcvt(c, 10, c1);
updatedata(false);
}
求教