?? dlgshannon.cpp
字號:
// DlgShannon.cpp : implementation file
//
#include "stdafx.h"
#include "imageprocessing.h"
#include "DlgCoding.h"
#include <math.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgShannon dialog
CDlgShannon::CDlgShannon(CWnd* pParent /*=NULL*/)
: CDialog(CDlgShannon::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgShannon)
m_dEntropy = 0.0;
m_dAvgCodeLen = 0.0;
m_dEfficiency = 0.0;
//}}AFX_DATA_INIT
}
void CDlgShannon::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgShannon)
DDX_Control(pDX, IDC_LST_Table, m_lstTable);
DDX_Text(pDX, IDC_EDIT1, m_dEntropy);
DDX_Text(pDX, IDC_EDIT2, m_dAvgCodeLen);
DDX_Text(pDX, IDC_EDIT3, m_dEfficiency);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgShannon, CDialog)
//{{AFX_MSG_MAP(CDlgShannon)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgShannon message handlers
BOOL CDlgShannon::OnInitDialog()
{
// 秸ノ纐粄眔OnInitDialog()ㄧ計
CDialog::OnInitDialog();
//
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -