?? 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 + -