資源簡(jiǎn)介
VC++ 6.0 實(shí)現(xiàn)FFT, 在對(duì)話框中顯示頻譜

代碼片段和文件信息
//?FFTinDLG.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“FFTinDLG.h“
#include?“FFTinDLGDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CFFTinDLGApp
BEGIN_MESSAGE_MAP(CFFTinDLGApp?CWinApp)
//{{AFX_MSG_MAP(CFFTinDLGApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CFFTinDLGApp?construction
CFFTinDLGApp::CFFTinDLGApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CFFTinDLGApp?object
CFFTinDLGApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CFFTinDLGApp?initialization
BOOL?CFFTinDLGApp::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
CFFTinDLGDlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????22212??2011-10-22?13:33??FFTinDLG\FFTinDLG.aps
?????文件???????1896??2011-10-22?13:38??FFTinDLG\FFTinDLG.clw
?????文件???????2091??2006-03-18?09:18??FFTinDLG\FFTinDLG.cpp
?????文件???????4196??2011-10-22?13:38??FFTinDLG\FFTinDLG.dsp
?????文件????????541??2006-03-18?09:18??FFTinDLG\FFTinDLG.dsw
?????文件???????1346??2006-03-18?09:18??FFTinDLG\FFTinDLG.h
?????文件??????74752??2011-10-22?13:38??FFTinDLG\FFTinDLG.ncb
?????文件??????48640??2011-10-22?13:38??FFTinDLG\FFTinDLG.opt
?????文件???????4206??2011-10-22?13:38??FFTinDLG\FFTinDLG.plg
?????文件???????6368??2006-03-18?16:42??FFTinDLG\FFTinDLG.rc
?????文件??????13203??2006-03-18?16:40??FFTinDLG\FFTinDLGDlg.cpp
?????文件???????1894??2006-03-18?11:17??FFTinDLG\FFTinDLGDlg.h
?????文件???????3615??2006-03-18?09:18??FFTinDLG\ReadMe.txt
?????文件???????1078??2006-03-18?09:18??FFTinDLG\res\FFTinDLG.ico
?????文件????????400??2006-03-18?09:18??FFTinDLG\res\FFTinDLG.rc2
?????文件???????1284??2006-03-18?11:18??FFTinDLG\Resource.h
?????文件????????210??2006-03-18?09:18??FFTinDLG\StdAfx.cpp
?????文件???????1054??2006-03-18?09:18??FFTinDLG\StdAfx.h
?????目錄??????????0??2011-10-22?13:33??FFTinDLG\res
?????目錄??????????0??2011-10-22?13:41??FFTinDLG
-----------?---------??----------?-----??----
???????????????188986????????????????????20
評(píng)論
共有 條評(píng)論