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

正文內(nèi)容

c計算器課程設(shè)計--計算器程序設(shè)計-閱讀頁

2025-06-25 19:22本頁面
  

【正文】 //判斷小數(shù)點是否被點擊 int n。 void OnMnuCut()。 void OnMnuPaste()。 // Dialog Data //{{AFX_DATA(CZZDlg) enum { IDD = IDD_ZZ_DIALOG }。 //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CZZDlg) protected: virtual void DoDataExchange(CDataExchange* pDX)。 // Generated message map functions //{{AFX_MSG(CZZDlg) virtual BOOL OnInitDialog()。 afx_msg void OnPaint()。 afx_msg void OnB0()。 afx_msg void OnB2()。 afx_msg void OnB4()。 afx_msg void OnB6()。 afx_msg void OnB8()。 afx_msg void OnBadd()。 afx_msg void OnBd()。 afx_msg void OnBmult()。 afx_msg void OnBsub()。 afx_msg void Onpf()。 afx_msg void Onsqrt()。 afx_msg void Oncos()。 //}}AFX_MSG DECLARE_MESSAGE_MAP() }。 endif ///////////////////////////////////////////////////////////////////////////// // CAboutDlg dialog used for App About class CAboutDlg : public CDialog { public: CAboutDlg()。 //}}AFX_DATA C++課程設(shè)計 24 // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAboutDlg) protected: virtual void DoDataExchange(CDataExchange* pDX)。 CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) { //{{AFX_DATA_INIT(CAboutDlg) //}}AFX_DATA_INIT } void CAboutDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX)。 //}}AFX_DATA_INIT // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 m_hIcon = AfxGetApp()LoadIcon(IDR_MAINFRAME)。 //{{AFX_DATA_MAP(CZZDlg) DDX_Text(pDX, IDC_EDIT1, m_Result)。 m_input=。 dian=false。 0xFFF0) == IDM_ABOUTBOX)。 CMenu* pSysMenu = GetSystemMenu(FALSE)。 (IDS_ABOUTBOX)。 pSysMenuAppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu)。s main window is not a dialog SetIcon(m_hIcon, TRUE)。 // Set small icon // TODO: Add extra initialization here return TRUE。 0xFFF0) == IDM_ABOUTBOX) { CAboutDlg dlgAbout。 } else { CDialog::OnSysCommand(nID, lParam)。 // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) (), 0)。 int cyIcon = GetSystemMetrics(SM_CYICON)。 GetClientRect(amp。 int x = (() cxIcon + 1) / 2。 C++課程設(shè)計 27 // Draw the icon (x, y, m_hIcon)。 } } // The system calls this to obtain the cursor to display while the user drags // the minimized window. HCURSOR CZZDlg::OnQueryDragIcon() { return (HCURSOR) m_hIcon。 } void CZZDlg::OnB1() { // TODO: Add your control notification handler code here // 1 Numin()。 } void CZZDlg::OnB3() { // TODO: Add your control notification handler code here // 3 Numin()。 } void CZZDlg::OnB5() { // TODO: Add your control notification handler code here // 5 Numin()。 } void CZZDlg::OnB7() { // TODO: Add your control notification handler code here // 7 Numin()。 } void CZZDlg::OnB9() { // TODO: Add your control notification handler code here // 9 Numin()。 n=1。 yun=1。 yun=2。 yun=3。 yun=4。 yun=5。 yun=6。 yun=7。 yun=8。 yun=9。 yun=10。 m_Result=float(m_input)。 m_done=false。 opt=false。 } void CZZDlg::OnBrun() { // TODO: Add your control notification handler code here //= num_2=m_Result。 UpdateData(false)。 UpdateData(false)。 UpdateData(false)。 UpdateData(false)。 UpdateData(false)。 UpdateData(false)。 UpdateData(false)。 UpdateData(false)。 UpdateData(false)。 C++課程設(shè)計 31 UpdateData(false)。 UpdateData(false)。 UpdateData(false)。 m_done=true。 n=0。 UpdateData(false)。 m_Result=m_input。 opt=false。 } else if(dian==true)//如果小數(shù)點已經(jīng)被按下 ////////// { m_Result=m_input=。 int i。in。 } m=put。 m_Result=m_input。 opt=false。 } } else { if(dian==false)//如果小數(shù)點還沒有被按下 { m_input=m_input*10+put。 UpdateData(false)。m_done=false。 for(i=0。i++) C++課程設(shè)計 32 { put=put/10。 m_input=m_input+m。 UpdateData(false)。m_done=false。 } void CZZDlg::operate() { num_1=m_Result。 dian=false。 } // : main header file for the ZZ application if !defined(AFX_ZZ_H__D6CCE042_0495_4C65_8B5F_FC1236BFFCEC__INCLUDED_) define AFX_ZZ_H__D6CCE042_0495_4C65_8B5F_FC1236BFFCEC__INCLUDED_ if _MSC_VER 1000 pragma once endif // _MSC_VER 1000 ifndef __AFXWIN_H__ error include 39。 before including this file for PCH endif include // main symbols ///////////////////////////////////////////////////////////////////////////// // CZZApp: // See for the implementation of this class // class CZZApp : public CWinApp { public: CZZApp()。 //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CZZApp) // NOTE the ClassWizard will add and remove member functions here. C++課程設(shè)計 33 // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }。 endif ///////////////////////////////////////////////////////////////////////////// // CZZApp BEGIN_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 construction CZZApp::CZZApp() { // TODO: add construction code here, // Place all significant initialization in InitInstance } ///////////////////////////////////////////////////////////////////////////// // The one and only CZZApp object CZZApp theAp
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1