CMyDlg::CMyDlg(CWnd* pParent /*=NULL*/)
: CDialog(CMyDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CMyDlg)
m_1 = 1650;
m_10 = 1.0;
m_11 = 1500;
m_2 = 0.04;
m_3 = 1.0;
m_4 = 3.75;
m_5 = 4.0;
这些根本不需要定义就可以了
double ECaO=CaO*wCaO/1000+baiyun*BCaO/1000+0.01;
double ESiO2=CaO*wSiO2/1000+baiyun*BSiO2/1000+ironSi*15/7+0.15*fsteelSi*15/7;
double EMgO=(CaO*wMgO+baiyun*BMgO)/1000+0.01;
double P2O5=(ironP-outP)*71/31;
double CaS=(ironS-outS)*3/2;
这些也很简单 ,没有cout出现