Code:if(inFile >> testGrade[0]) found = true; for(int a = 0; a < 4; a++) { inFile >> testGrade[a]; cout << testGrade[a] << " "; } inFile.getline(studentName[0],40); cout << studentName[0]; }
Im performing a priming read with this file, but its skipping the first one. How would I go about resetting it?