So everything before this part of the program works fine, but when I compile it there is a "undeclared identifier" fail message for the line
"recordCount = i++;" I am not sure where i went wrong?
int createStudentRecord( StudentRecord srArray[], int recordCount )
{
char response[MAX_STRING];
int NewIdNum;
int studentId = 0;
int studentInfo = 0;
StudentRecord newRecord;
cout << endl;
cout << " New Student Record " << endl;
cout << "-------------------------------------------" << endl;
cout << "Enter new student ID number: \n";
cin.getline( response, MAX_STRING );
NewIdNum = atoi( response );