📄 lineinfo.cpp
字号:
// LineInfo.cpp: implementation of the CLineInfo class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "B2007.h"
#include "LineInfo.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CLineInfo::CLineInfo()
{
memset(this,0,sizeof(*this));
m_pSations = new Station[MAX_STAION];
int nSize = sizeof(Station)*MAX_STAION;
memset(m_pSations,0,nSize);
m_IsCircular = -1;
}
CLineInfo::~CLineInfo()
{
delete[]m_pSations;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -