freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

c計算器課程設計--計算器程序設計-資料下載頁

2025-01-18 12:46本頁面
  

【正文】 )//減 { m_Result=num_1num_2。 UpdateData(false)。 } else if(yun==3)//乘 { m_Result=num_1*num_2。 UpdateData(false)。 } else if(yun==4)//除 { m_Result=num_1/num_2。 UpdateData(false)。 } else if(yun==5)//log { if(num_1=0) { m_Result=0。 UpdateData(false)。 } m_Result=log10(num_1)。 UpdateData(false)。 } else if(yun==6)//平方 { m_Result=num_1*num_1。 UpdateData(false)。 } else if(yun==7)//根號 { if(num_1=0) { m_Result=0。 UpdateData(false)。 } m_Result=sqrt(num_1)。 UpdateData(false)。 } else if(yun==8)//sin { m_Result=sin(num_1*PI/180)。 UpdateData(false)。 } else if(yun==9)//tan { m_Result=tan(num_1*PI/180)。 UpdateData(false)。 } else if(yun==10)//cos { m_Result=cos(num_1*PI/180)。 UpdateData(false)。 } opt=false。 m_done=true。 dian=false。 n=0。}void CZZDlg::Numin(double put){ if(m_done==true||opt==true) //如果一次計算結束或運算符已經(jīng)選擇 { if(dian==false)//如果小數(shù)點還沒有被按下 { m_Result=m_input=。 UpdateData(false)。 m_input=m_input*10+put。 m_Result=m_input。 UpdateData(false)。 opt=false。m_done=false。 } else if(dian==true)//如果小數(shù)點已經(jīng)被按下////////// { m_Result=m_input=。 UpdateData(false)。 int i。 for(i=0。in。i++) { put=put/10。 } m=put。 m_input=m_input+m。 m_Result=m_input。 UpdateData(false)。 opt=false。m_done=false。 } } else { if(dian==false)//如果小數(shù)點還沒有被按下 { m_input=m_input*10+put。 m_Result=m_input。 UpdateData(false)。 opt=false。m_done=false。 } else if(dian==true)//如果小數(shù)點已經(jīng)被按下/////////////// { int i。 for(i=0。in。i++) { put=put/10。 } m=put。 m_input=m_input+m。 m_Result=m_input。 UpdateData(false)。 opt=false。m_done=false。 } } n++。 }void CZZDlg::operate(){ num_1=m_Result。 opt=true。 dian=false。 n=0。}// : main header file for the ZZ applicationif !defined(AFX_ZZ_H__D6CCE042_0495_4C65_8B5F_FC1236BFFCEC__INCLUDED_)define AFX_ZZ_H__D6CCE042_0495_4C65_8B5F_FC1236BFFCEC__INCLUDED_if _MSC_VER 1000pragma onceendif // _MSC_VER 1000ifndef __AFXWIN_H__ error include 39。39。 before including this file for PCHendifinclude // main symbols/////////////////////////////////////////////////////////////////////////////// CZZApp:// See for the implementation of this class//class CZZApp : public CWinApp{public: CZZApp()。// Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CZZApp) public: virtual BOOL InitInstance()。 //}}AFX_VIRTUAL// Implementation //{{AFX_MSG(CZZApp) // NOTE the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP()}。///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.endif // !defined(AFX_ZZ_H__D6CCE042_0495_4C65_8B5F_FC1236BFFCEC__INCLUDED_)// : Defines the class behaviors for the application.//include include include ifdef _DEBUGdefine new DEBUG_NEWundef THIS_FILEstatic char THIS_FILE[] = __FILE__。endif/////////////////////////////////////////////////////////////////////////////// CZZAppBEGIN_MESSAGE_MAP(CZZApp, CWinApp) //{{AFX_MSG_MAP(CZZApp) // NOTE the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG ON_COMMAND(ID_HELP, CWinApp::OnHelp)END_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CZZApp constructionCZZApp::CZZApp(){ // TODO: add construction code here, // Place all significant initialization in InitInstance}/////////////////////////////////////////////////////////////////////////////// The one and only CZZApp objectCZZApp theApp。/////////////////////////////////////////////////////////////////////////////// CZZApp initializationBOOL CZZApp::InitInstance(){ AfxEnableControlContainer()。 // Standard initialization // If you are not using these features and wish to reduce the size // of your final executable, you should remove from the following // the specific initialization routines you do not need.ifdef _AFXDLL Enable3dControls()。 // Call this when using MFC in a shared DLLelse Enable3dControlsStatic()。 // Call this when linking to MFC staticallyendif CZZDlg dlg。 m_pMainWnd = amp。dlg。 int nResponse = ()。 if (nResponse == IDOK) { // TODO: Place code here to handle when the dialog is // dismissed with OK } else if (nResponse == IDCANCEL) { // TODO: Place code here to handle when the dialog is // dismissed with Cancel } // Since the dialog has been closed, return FALSE so that we exit the // application, rather than start the application39。s message pump. return FALSE。}
點擊復制文檔內(nèi)容
電大資料相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1