double a;
UpdateData();
a=m_dSalary-3500;
if (a<0)
m_dTax=0;
else
if (a<=1500)
m_dTax=a*0.03;
else if (a<=4500)
m_dTax=a*0.1-105;
else if (a<=9000)
m_dTax=a*0.2-555;
else if(a<=35000)
m_dTax=a*0.25-1005;
else if(a<=55000)
m_dTax=a*0.3-2755;
else if(a<=80000)
m_dTax=a*0.35-5505;
else
m_dTax=a*0.45-13505;
m_dNetIncome=m_dSalary-m_dTax;
UpdateData(FALSE);
当初总出现“c:\program files\microsoft visual studio\myprojects\root\rootdlg.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/root.pch': No such file or directory”