91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.6MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-09-19
  • 語言: C/C++
  • 標簽:

資源簡介

本計算器實現了的功能有: 1、二進制、八進制、十進制及十六進制數的加、減、乘、除、乘方、取模等簡單計算 2、科學計算函數,包括(反)正弦、(反)余弦、(反)正切、(反)余切、開方、指數等函數運行 3、以角度、弧度兩種方式實現上述部分函數 4、具備歷史計算的記憶功能 5、對不正確的表達式能指出其錯誤原因 有好的東西就應該大家分享,本人將自己做的一個課程設計給大家分享下,好快要交了... **測試我的時發(fā)現好多后邊多0.0000001,或者少了0.0000001,后來發(fā)現是強制轉換出了問題..所以只能用double型數據,因為%f輸出的就是double型,如果用float那是強制轉換,有時會出錯 本人懶得重新上傳了,空間有限 參考資料:www.ymy5.com

資源截圖

代碼片段和文件信息

//?ex5.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“ex5.h“
#include?“ex5Dlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CEx5App

BEGIN_MESSAGE_MAP(CEx5App?CWinApp)
//{{AFX_MSG_MAP(CEx5App)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CEx5App?construction

CEx5App::CEx5App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CEx5App?object

CEx5App?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CEx5App?initialization

BOOL?CEx5App::InitInstance()
{SetDialogBkColor?(RGB?(128?184?223)?RGB?(?0?0??150?)?);

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?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CEx5Dlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
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?application‘s?message?pump.
return?FALSE;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????1160128??2008-12-18?18:36??vc計算器\ex5.aps

?????文件???????3468??2008-12-18?18:36??vc計算器\ex5.clw

?????文件???????2083??2008-12-17?20:55??vc計算器\ex5.cpp

?????文件???????4311??2008-12-18?00:40??vc計算器\ex5.dsp

?????文件????????512??2008-12-17?11:42??vc計算器\ex5.dsw

?????文件????1507372??2008-12-18?18:32??vc計算器\ex5.exe

?????文件???????1291??2008-12-17?11:42??vc計算器\ex5.h

?????文件??????99328??2008-12-18?18:36??vc計算器\ex5.ncb

?????文件??????49664??2008-12-18?18:36??vc計算器\ex5.opt

?????文件???????7644??2008-12-18?18:36??vc計算器\ex5.plg

?????文件???????9931??2008-12-18?18:32??vc計算器\ex5.rc

?????文件??????27509??2008-12-18?17:21??vc計算器\ex5Dlg.cpp

?????文件???????3149??2008-12-18?14:23??vc計算器\ex5Dlg.h

?????文件???????3525??2008-12-17?11:42??vc計算器\ReadMe.txt

?????文件????1129406??2008-12-18?00:35??vc計算器\res\1215571708.bmp

?????文件???????1270??2008-12-18?00:35??vc計算器\res\bitmap2.bmp

?????文件???????1078??2008-12-17?11:42??vc計算器\res\ex5.ico

?????文件????????395??2008-12-17?11:42??vc計算器\res\ex5.rc2

?????文件???????3890??2008-12-18?00:27??vc計算器\res\fdsfe.bmp

?????文件???????3484??2008-12-18?18:24??vc計算器\resource.h

?????文件????????205??2008-12-17?11:42??vc計算器\StdAfx.cpp

?????文件???????1054??2008-12-17?11:42??vc計算器\StdAfx.h

?????文件????????393??2008-12-18?18:33??vc計算器\說明.txt

?????目錄??????????0??2008-12-18?18:36??vc計算器\Debug

?????目錄??????????0??2008-12-18?18:24??vc計算器\res

?????目錄??????????0??2008-12-18?18:36??vc計算器

-----------?---------??----------?-----??----

??????????????4021090????????????????????26


評論

共有 條評論

相關資源