Ok so im totally new to C++......we use Dev in our labs
I cnt seem to figure out how to store the column of a text file into an array. I understand how to input the file usinf ifstream.The columns have Lastname(initial), Id#, Age and Gpa.
i thought js doin
while (inFile>>ws && !infile.eof())
cout << Lastname[index]<<endl;
would give me an array called Lastname. I am required to store each column into an array.
Can anyone help me please
Listening to: Collin Raye - If u get there b4 i do