?? getvar3.cc
字號:
#include "gamemodel.hh"using namespace bats;std::string const &GameModel::getVarStr(GameVar var){ switch (var) { case TeamLeft: return d_teamLeft; case TeamRight: return d_teamRight; case ScoreLeft: return d_scoreLeftStr; case ScoreRight: return d_scoreRightStr; default: std::cerr << "warning: (getVar) unknown variable or wrong type (string): " << var << std::endl; }; static std::string none = ""; return none;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -