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

📄 bytext.cpp

📁 匈牙利法解决分派问题
💻 CPP
字号:
// bytext.cpp : implementation file
//

#include "stdafx.h"
#include "匈牙利法解分派问题.h"
#include "bytext.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
extern int select_num;
/////////////////////////////////////////////////////////////////////////////
// bytext dialog


bytext::bytext(CWnd* pParent /*=NULL*/)
	: CDialog(bytext::IDD, pParent)
{
	//{{AFX_DATA_INIT(bytext)
	m_task = _T("");
	//}}AFX_DATA_INIT
}


void bytext::DoDataExchange(CDataExchange* pDX)
{
	CWnd *p;
		              p=GetDlgItem(IDC_STATIC1);
					  char str[20];
					  strcpy(str,"任务");char num[4];
					  itoa(select_num+1,num,10);
					  strcat(str,num);
						  p->SetWindowText(str);
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(bytext)
	DDX_Text(pDX, IDC_EDIT1, m_task);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(bytext, CDialog)
	//{{AFX_MSG_MAP(bytext)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// bytext message handlers

⌨️ 快捷键说明

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