资源简介
巴特沃斯低通滤波器的MFC程序,FS是采样频率,fp是截止频率,大家-Butterworth low-pass filter MFC process, FS is the sampling frequency, fp is the cut-off frequency, we take a look at
代码片段和文件信息
// filter.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “filter.h“
#include “MainFrm.h“
#include “filterDoc.h“
#include “filterView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFilterApp
BEGIN_MESSAGE_MAP(CFilterApp CWinApp)
//{{AFX_MSG_MAP(CFilterApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFilterApp construction
CFilterApp::CFilterApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CFilterApp object
CFilterApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CFilterApp initialization
BOOL CFilterApp::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
// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CFilterDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CFilterView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one and only window has been initialized so show and update it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return TRUE;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 44460 2009-12-08 20:08 filter\filter.aps
文件 2633 2009-12-08 22:04 filter\filter.clw
文件 4209 2009-12-07 17:14 filter\filter.cpp
文件 4556 2009-12-08 23:04 filter\filter.dsp
文件 520 2009-12-07 17:14 filter\filter.dsw
文件 1356 2009-12-07 17:14 filter\filter.h
文件 66560 2009-12-08 23:04 filter\filter.ncb
文件 51712 2009-12-08 23:04 filter\filter.opt
文件 951 2009-12-08 23:02 filter\filter.plg
文件 12574 2009-12-08 20:08 filter\filter.rc
文件 1742 2009-12-07 17:14 filter\filterDoc.cpp
文件 1475 2009-12-07 17:14 filter\filterDoc.h
文件 9003 2009-12-08 22:55 filter\filterView.cpp
文件 2245 2009-12-08 17:08 filter\filterView.h
文件 2511 2009-12-08 15:00 filter\MainFrm.cpp
文件 1581 2009-12-08 15:00 filter\MainFrm.h
文件 4311 2009-12-07 17:14 filter\ReadMe.txt
文件 918 2009-12-08 20:08 filter\resource.h
文件 208 2009-12-07 17:14 filter\StdAfx.cpp
文件 1054 2009-12-07 17:14 filter\StdAfx.h
文件 1078 2009-12-07 17:14 filter\res\filter.ico
文件 398 2009-12-07 17:14 filter\res\filter.rc2
文件 1078 2009-12-07 17:14 filter\res\filterDoc.ico
文件 1078 2009-12-07 17:14 filter\res\Toolbar.bmp
目录 0 2009-12-09 08:53 filter\res
目录 0 2009-12-09 08:53 filter
----------- --------- ---------- ----- ----
218211 26
- 上一篇:银行家算法c++源代码
- 下一篇:C语言课程设计——职工管理系统
相关资源
- MFC创建UI线程
- mfc矩阵运算器
- 基于MFC的BMP图像处理
- VC++之MFC类库中文手册一怀去意---
- PE文件格式解析MFCC++源码
- VS2010之MFC入门到精通教程1-55全部
- MFC写的windows网络热点共享源代码
- mfc读取excel
- Visual C++开发大全提高卷)光盘资料
- MFC视频播放器(带播放列表VC++6.0源代
- vs使用mfc实现全屏截屏和自定义区域截
- 基于MFC的软键盘
- 基于MFC仿QQ聊天程序设计完整教程
- MFC_Clock.zip
- 梅尔倒谱系数MFCC的matlab代码
- mfc绘制数学函数图像
- mfc生成excel-pdf图表
- 漂亮的MFC进度条
- MFC 动态曲线 支持缩放
- gridctrl_demo
- 学生管理系统,mfc做的,本人课设作
- 模拟的DBMS
- MFC窗体设计
- MFC自定义列表listcontrol
- MFC利用CSOCKET实现的小小聊天室
- VC++ MFC MSCOMM VS2010 手把手学会串口收发
- MFC开发的数学公式编辑器
- mfc编写的简单聊天程序
- 传智播客MFC第三天项目
- mfc waveout播放器
评论
共有 条评论