
c++
m0_47884143
这个作者很懒,什么都没留下…
展开
-
上机实验6 继承下的构造函数与析构函数
一、实验目的1、掌握派生类的声明方法和派生类构造函数的定义方法2、掌握不同方式下,构造函数与析构函数的执行顺序与构造规则二、实验内容1、写出程序运行的结果。#include<iostream>#include<string>using namespace std;class MyArray {public: MyArray(int length); ~MyArray(); void Input(); void Display(string);p原创 2021-12-13 00:42:46 · 801 阅读 · 0 评论 -
C++上机 student score 学生成绩
student score 学生成绩原创 2021-11-22 01:43:21 · 2272 阅读 · 0 评论