….H 头文件,.cpp 执行文件 //Card.h class Player; void gotoxy(int x,int y); class Card { private: int amount; char color; //3 red 4 square 5 plum 6 black Card * pcard; public: Card():amount(14),color(3){} void set(int ,char); void show(int x=0,int y=0); //横着输 // void print(int =0,int y=0); // 背面 show 正面 print 背面 stand 竖的 line 封底 // void showstand(int x=0,int y=0); //竖着输出 // void printstand(int x=0,int y=0); //背面 // void showstandline(int x=0,int y=0); // void printstandline(int x=0,int y=0); // void printline(int x=0,int y=0); void showline(int x=0,int y=0); //作为封底用的 void setpcard(Card *); void exact(int no); //精确输出 JQKA Card * backpcard(); int backamount(); friend void Giveout(Player *,int); friend void showplayer(Player *player,int n); }; //Player.h class Card; class Player { private: int number; int Flag; Card * phead; public: Player():number(0),phead(0){} Card* & backph(); //外部接口 int & backflag(); int & backno(); void showcard(int,int); //需要 player 的位置坐标 void setpp(Card *); friend void change(Player &player); friend void Giveout(Player * ,int); friend void showplayer(Player *player,int n); }; //Game.h #include"Card.h" #include"Player.h" void cancel(Card *pc,Card * &ph); void canceldouble(Player *player,int n) ; void Giveout(Player * player,int a); void showplayer(Player *player,int n); void vircancel(Card *pc,Player & player) ; void comparecard(Player & player,Card * pc); Card *find(Card * ph,int n) ; void index(Card * &ph,Card *pc,int n); int playgame(Player * player,int n) ; void introduction(); void end(); //Card 的实现 #include #include"Card.h" #include using namespace std; //enum Color {red,black,square,plum}; //gotoxy()函数 #include // void gotoxy(int y,in...