uacs2024

导航

19笔试真题:看程序写结果,含有内嵌对象的类的构造函数调用次序

看程序写结果,含有内嵌对象的类的构造函数调用次序 #include <iostream> using namespace std; class Student1{ public: Student1() {cout << "Student1+" << endl; } ~Student1() { cou

posted on 2024-03-17 18:40  ????  阅读(2)  评论(0编辑  收藏  举报