CS计算机代考程序代写 #include

#include
using namespace std;

#include “CriteriaArray.h”

CriteriaArray::CriteriaArray() : size(0) {}

CriteriaArray::~CriteriaArray()
{
for (int i=0; i= size)
return NULL;

return elements[index];
}

void CriteriaArray::add(Criteria* c)
{
if (size >= MAX_SIZE) {
cerr<<"Overflow"<print();
}

cout<

Leave a Reply

Your email address will not be published. Required fields are marked *