gcc test8.c-o test8:!test8 Enter the operation of your choice:a.add s.subtract m.multiply d.divide q.quit s b Enter first number:3 Enter second number:5 3.0-5.0=-2.0 Enter the operation of your choice:a.add s.subtract m....
一、新建MFC应用二、选择设置程序相关类型三、设计界面,还以计算器为例四、双击按钮,自动跳转到按钮事件void CMFC应用Dlg:OnBnClickedButton1(){ int a=GetDlgItemInt(IDC_EDIT1);int b=GetDlgItemInt(IDC_EDIT2);SetDlgItemInt(IDC_EDIT...