this is probably a dumb question but how would I remove the array so that there is no max size on it.
struct StudentType
{
string studentName;
int testScore;//Between 0 and 100
char grade;
};
const int NUM_STUDENTS = 20;
int main()
{
StudentType student[NUM_STUDENTS];
}
this is what i have tried
StudentType i;
StudentType *student;
student = new (nothrow) StudentType [i];