⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gauss.cpp

📁 这是我学习数字信号处理时编写的程序!功能就是显示一些常用的函数的图形!并可以做FFT计算!
💻 CPP
字号:
// Gauss.cpp : implementation file
//

#include "stdafx.h"
#include "Zhangjg_dsp.h"
#include "Gauss.h"
#include "Choocep.h"
#include "Chooceq.h"
#include "Zhangjg_dspDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CGauss dialog


CGauss::CGauss(CWnd* pParent /*=NULL*/)
	: CDialog(CGauss::IDD, pParent)
{
	//{{AFX_DATA_INIT(CGauss)
//	m_N = 0;
	m_n = 0;
	//}}AFX_DATA_INIT
}


void CGauss::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CGauss)
//	DDX_Text(pDX, IDC_EDIT1, m_N);
	DDX_Text(pDX, IDC_EDIT2, m_n);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CGauss, CDialog)
	//{{AFX_MSG_MAP(CGauss)
	ON_BN_CLICKED(IDC_RADIO1, OnRadio1)
	ON_BN_CLICKED(IDC_RADIO2, OnRadio2)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CGauss message handlers

void CGauss::OnRadio1() 
{	

		flag=1;
}

void CGauss::OnRadio2() 
{
		flag=2;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -