摘要:
typedef struct { vector name; vector score; }Student; 有个问题,为啥声明为 Student *stu; 然后 stu->name.push_back(name);运行时会有问题,但是编译无问题~~ ; Studen... 阅读全文
posted @ 2015-01-08 11:08
宋桓公
阅读(508)
评论(6)
推荐(0)
摘要:
用一个结构封装学生信息: 1、思维1 struct Student_info { vector name; vector score; }; Student_info std; stu.name.push_back(name); stu.score.pu... 阅读全文
posted @ 2015-01-08 11:06
宋桓公
阅读(301)
评论(0)
推荐(0)

浙公网安备 33010602011771号