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

📄 insert.cpp

📁 用MFC 实现线性表的插入删除等
💻 CPP
字号:
// Insert.cpp : implementation file
//

#include "stdafx.h"
#include "sdsd.h"
#include "Insert.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CInsert dialog


CInsert::CInsert(CWnd* pParent /*=NULL*/)
	: CDialog(CInsert::IDD, pParent)
{
	//{{AFX_DATA_INIT(CInsert)
	m_nTemp = _T("");
	m_nNum = 0;
	//}}AFX_DATA_INIT
	m_istep=0;
}


void CInsert::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CInsert)
	DDX_Text(pDX, IDC_EDIT3, m_nTemp);
	DDX_Text(pDX, IDC_EDIT2, m_nNum);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CInsert, CDialog)
	//{{AFX_MSG_MAP(CInsert)
	ON_BN_CLICKED(IDC_RADIO1, OnRadio1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CInsert message handlers

void CInsert::OnOK() 
{
	// TODO: Add extra validation here
	
	CDialog::OnOK();
}

void CInsert::OnRadio1() 
{
	// TODO: Add your control notification handler code here
    m_istep=1;
}

⌨️ 快捷键说明

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