I'm defining a class named Roster below. I've already defined the class Student. I'm trying to create an array of pointers of type Student in the Roster class to add the students to the Roster. I'm super new to programming and C++, and I'm trying to figure out why this is giving me errors. The IDE is saying it expects a ; before the * and it's missing a type specifier, which doesn't make sense to me. Thanks in advance for any help!
class Roster {
private:
int studentIndex = -1;
const static int numStudents = 5;
Student* classRosterArray[numStudents];
public:
void parse(string row);