派生类与继承下的构造函数与析构函数

#include<iostream>

#include<string>

#include<conio.h>

using namespace std;

class MyArray{

public:

MyArray(int length);

~MyArray();

void Input();

void Display(string);

protected:

int *alist;

int length;