mydiag.cpp
来自「是编译器我花了好几个礼拜才编好的确实难的这是个不错的编译器」· C++ 代码 · 共 47 行
CPP
47 行
// MyDiag.cpp : implementation file
//
#include "stdafx.h"
#include "哈夫曼编码译码器.h"
#include "MyDiag.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMyDiag dialog
CMyDiag::CMyDiag(CWnd* pParent /*=NULL*/)
: CDialog(CMyDiag::IDD, pParent)
{
//{{AFX_DATA_INIT(CMyDiag)
m_strHelp = _T("");
m_strInput = _T("");
//}}AFX_DATA_INIT
}
void CMyDiag::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CMyDiag)
DDX_Text(pDX, IDC_EDIT_HELP, m_strHelp);
DDX_Text(pDX, IDC_EDIT_INPUT, m_strInput);
DDV_MaxChars(pDX, m_strInput, 60);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CMyDiag, CDialog)
//{{AFX_MSG_MAP(CMyDiag)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMyDiag message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?