摘要:
``` include using namespace std; class Add{ public: Add(int x,int y):x(x),y(y){ cout using namespace std; class vehicle{ public: vehicle(int x,int y): 阅读全文
摘要:
``` include include include using namespace std; class Dice{ public: Dice(int n); int cast() { int number=rand()%sides+1; return number; } private: in 阅读全文
摘要:
第二题 include using namespace std; class Graph { public: Graph(char t, int n); void draw(); private: char ch; int number; }; Graph::Graph(char t, int n) 阅读全文