热门标签
更多>
搜索结果
查询Tags标签: EnumColor,共有 2条记录-
c++享元模式
#include <iostream> #include <list> #include <map> using namespace std;enum class EnumColor //棋子类型 {Black, //黑White //白 };struct Position //棋子位置 {int m_x;int m_y;Position(int tmpx, int tmpy) :m_x(tmpx), m_y(tmpy) {} //构造…
2021/9/13 1:05:25 人评论 次浏览 -
c++享元模式
#include <iostream> #include <list> #include <map> using namespace std;enum class EnumColor //棋子类型 {Black, //黑White //白 };struct Position //棋子位置 {int m_x;int m_y;Position(int tmpx, int tmpy) :m_x(tmpx), m_y(tmpy) {} //构造…
2021/9/13 1:05:25 人评论 次浏览