📄 xstation.cpp
字号:
#include "StdAfx.h"
#include "XStation.h"
#include "XStations.h"
XStation::XStation()
{
name = "";
position.X = 0.0;
position.Y = 0.0;
}
XStation::~XStation()
{
}
int XStation::Append (const CString& name)
{
if (!name.IsEmpty())
lines.push_back(name);
return (int) lines.size();
}
int XStation::Remove (const CString& name)
{
vector<CString>::iterator pos;
pos = find(lines.begin(),lines.end(),name);
if (pos != lines.end())
lines.erase(pos);
return (int) lines.size();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -