?? town.cpp
字號:
// town.cpp: implementation of the town class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "town.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
town::town()
{
name=NULL;
}
town::~town()
{
delete[] name;
}
void town::SetName(char *m_name)
{
name=new char[strlen(m_name)+1];
strcpy(name,m_name);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -