📄 zhangjg_dspdoc.cpp
字号:
// Zhangjg_dspDoc.cpp : implementation of the CZhangjg_dspDoc class
//
#include "stdafx.h"
#include "Zhangjg_dsp.h"
#include "Zhangjg_dspDoc.h"
#include "Gauss.h"
#include "Choocep.h"
#include "Chooceq.h"
#include <complex>
using namespace std;
#include "math.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CZhangjg_dspDoc
IMPLEMENT_DYNCREATE(CZhangjg_dspDoc, CDocument)
BEGIN_MESSAGE_MAP(CZhangjg_dspDoc, CDocument)
//{{AFX_MSG_MAP(CZhangjg_dspDoc)
// 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
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CZhangjg_dspDoc construction/destruction
CZhangjg_dspDoc::CZhangjg_dspDoc()
{
X=NULL;
}
CZhangjg_dspDoc::~CZhangjg_dspDoc()
{
delete X;
}
BOOL CZhangjg_dspDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CZhangjg_dspDoc serialization
void CZhangjg_dspDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CZhangjg_dspDoc diagnostics
#ifdef _DEBUG
void CZhangjg_dspDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CZhangjg_dspDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CZhangjg_dspDoc commands
void CZhangjg_dspDoc::SetTitle(LPCTSTR lpszTitle)
{
LPCTSTR String;
String="张建根 3062002012实验一在做DFT,FFT时N取1000点,有点时间差别";
CDocument::SetTitle(String);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -