摘要:
1.map map rankDict;//定义map rankDict[1] = 5; rankDict[2] = 6;//map赋值 int dictSize = rankDict.size(); //map的大小 cout ::iterator iter; for(iter = rankD... 阅读全文
摘要:
struct Date{ int day, month, year;};struct Book{ string name; Date date; void init(string n, int y, int m, int d); void print(void);};void Book::init(... 阅读全文