class Cardgame { int players; static int totalparticipants; public: Cardgame(int p); ~Cardgame(void);}; int main(){ Cardgame *bridge = 0; Cardgame *blackjack = 0; Cardgame *solitaire = 0; Cardgame *poker = 0;
引用第0楼初级学童于2007-12-08 13:21发表的 一个简单的c++问题......................... :定义的一个类class Cardgame { int players;.......