Teacher has supplied a txt file from which we're supposed to get the information. I've looked in my text book for examples, but those are user-input based. Here's what I have so far:
int main ()
{
const int STUDENTS = 25;
const int NAMES= 80;
const int TESTS = 4;
string studentNames [STUDENTS][NAMES];
double gradeBook [STUDENTS] [TESTS];
int S = 0; //number of students
int T; //number of tests
int N = 0; //number of entries
ifstream inFile ("classData.txt");
//TO READ THE NAMES OF A MAXIMUM OF 25
//STUDENTS AND THEIR FOUR PERCENTAGES
//FROM A FILE
while (S<STUDENTS)
{
for (T=0; T<4; T++)
{
inFile >> gradeBook [S][T];
}