关于对象数组的创建

如果想采用

Student *stu=new Student[3];

这样的语句,一定要添加缺省构造函数。

猜你喜欢

转载自www.cnblogs.com/lipoicyclic/p/13193626.html