資源簡介
VC源代碼(MFC)。DCT、IDCT及FDCT、FIDCT。
簡單實用。

代碼片段和文件信息
//?FDCT.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“FDCT.h“
#include?“FDCTDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CFDCTApp
BEGIN_MESSAGE_MAP(CFDCTApp?CWinApp)
//{{AFX_MSG_MAP(CFDCTApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CFDCTApp?construction
CFDCTApp::CFDCTApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CFDCTApp?object
CFDCTApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CFDCTApp?initialization
BOOL?CFDCTApp::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
CFDCTDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????35680??2003-04-11?11:26??FDCT.APS
?????目錄??????????0??2005-08-03?22:27??res
?????文件???????1078??2003-04-18?17:40??res\FDCT.ico
?????文件????????396??2003-04-18?17:40??res\FDCT.rc2
????..A.SH.??????3072??2005-03-07?11:19??res\Thumbs.db
?????目錄??????????0??2005-08-04?16:39??Release
?????文件??????36864??2005-08-04?16:39??Release\FDCT.exe
?????文件??????65536??1984-08-16?09:37??Release\GIRL.IMG
?????文件???????1309??2003-04-14?11:03??FDCT.clw
?????文件???????2035??2003-04-18?17:40??FDCT.cpp
?????文件???????4123??2003-04-18?17:40??FDCT.dsp
?????文件????????531??2003-04-18?17:40??FDCT.dsw
?????文件???????1302??2003-04-18?17:40??FDCT.h
?????文件??????53760??2003-04-14?11:03??FDCT.opt
?????文件???????1463??2003-04-13?08:58??FDCT.plg
?????文件???????5780??2003-04-11?11:26??FDCT.rc
?????文件????????897??2005-08-03?22:27??FDCT.sln
????..A..H.??????8192??2005-08-04?16:39??FDCT.suo
?????文件???????6048??2005-08-03?22:27??FDCT.vcproj
?????文件??????25499??2005-08-03?22:31??FDCTDlg.cpp
?????文件???????2091??2003-04-11?10:13??FDCTDlg.h
?????文件??????65536??1984-08-16?09:37??GIRL.IMG
?????文件???????3543??2003-04-18?17:40??ReadMe.txt
?????文件????????912??2003-04-10?13:19??Resource.h
?????文件????????206??2003-04-18?17:40??StdAfx.cpp
?????文件???????1054??2003-04-18?17:40??StdAfx.h
-----------?---------??----------?-----??----
???????????????326907????????????????????26
評論
共有 條評論