array to array ?

#include <iostream>
#include <string>


using namespace std;

#define DEFAULT_SIZE 5

typedef char SubjectCode[8];

class Student{

private:
char *name;
SubjectCode *subjects;
int maxSubject;
int subjectCount;
public:
Student(const SubjectCode codes[],int count);
{

//insert subject codes to array 'subjects'
//using data from array 'codes'.
}

this is the question request me to complete the definition of the comment area of the codes.Is that means that i needs to declare a new array subjects inside
inline function of the Student(const SubjectCode codes[],int count) ?
yes, and copy the data.
Topic archived. No new replies allowed.