角色

上机实验 #include<iostream> #include<string> using namespace std; int cp; //定义全局变量,玩家所选择的职业序号 /*定义函数的基础类Cosplay,保存角色的姓名*/ class Cosplay { friend class Out; //定义友元类,输出游戏角色信息 protected: char name[
相关文章
相关标签/搜索