資源簡介
利用逐點比較法實現直線的插補運算,對初學者有用

代碼片段和文件信息
//?chabu.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“chabu.h“
#include?“chabuDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CChabuApp
BEGIN_MESSAGE_MAP(CChabuApp?CWinApp)
//{{AFX_MSG_MAP(CChabuApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CChabuApp?construction
CChabuApp::CChabuApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChabuApp?object
CChabuApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CChabuApp?initialization
BOOL?CChabuApp::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?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CChabuDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????3561??2013-03-02?15:06??chabu\ReadMe.txt
?????文件???????1313??2013-03-02?15:06??chabu\chabu.h
?????文件???????2049??2013-03-02?15:06??chabu\chabu.cpp
?????文件???????1054??2013-03-02?15:06??chabu\StdAfx.h
?????文件????????207??2013-03-02?15:06??chabu\StdAfx.cpp
?????文件????????397??2013-03-02?15:06??chabu\res\chabu.rc2
?????文件???????1078??2013-03-02?15:06??chabu\res\chabu.ico
?????文件???????4141??2013-03-02?15:06??chabu\chabu.dsp
?????文件????????518??2013-03-02?15:06??chabu\chabu.dsw
?????文件???????2832??2013-03-04?10:35??chabu\Debug\chabu.res
?????文件?????214016??2013-03-04?14:23??chabu\Debug\vc60.idb
?????文件????5493172??2013-03-02?15:59??chabu\Debug\chabu.pch
?????文件?????364544??2013-03-04?14:23??chabu\Debug\vc60.pdb
?????文件?????105461??2013-03-02?15:59??chabu\Debug\StdAfx.obj
?????文件?????110645??2013-03-04?14:20??chabu\Debug\chabu.exe
?????文件?????476160??2013-03-04?14:20??chabu\Debug\chabu.pdb
?????文件??????12796??2013-03-04?11:11??chabu\Debug\chabu.obj
?????文件?????203800??2013-03-04?14:20??chabu\Debug\chabu.ilk
?????文件???????1042??2013-03-04?14:23??chabu\chabu.plg
?????文件????????913??2013-03-04?10:30??chabu\Resource.h
?????文件???????5863??2013-03-04?10:35??chabu\chabu.rc
?????文件??????35848??2013-03-04?10:35??chabu\chabu.aps
?????文件??????58368??2013-03-04?14:37??chabu\chabu.ncb
?????文件???????1507??2013-03-04?11:09??chabu\chabu.clw
?????文件???????1428??2013-03-04?11:11??chabu\chabuDlg.h
?????文件???????6406??2013-03-04?14:37??chabu\chabuDlg.cpp
?????文件?????233472??2013-03-04?14:37??chabu\chabu.opt
?????目錄??????????0??2013-03-02?15:06??chabu\res
?????目錄??????????0??2013-03-02?15:06??chabu\Debug
?????目錄??????????0??2013-03-02?15:05??chabu
............此處省略3個文件信息
- 上一篇:基于單片機的多功能收音機的設計與實現
- 下一篇:黑太陽1.0遠控源碼
評論
共有 條評論