MyArray数组笔记
#define _CRT_NO_SECURE_WARNINGS
#include<iostream>
using namespace std;
template<class T>
class MyArray
{
public:
MyArray(int capacity)
{
this->mcapacity = capacity;
this->msize = 0;
this->mpaddr = new T[this->mcapacity];
}
MyArray (const MyArray