Producing a Table with Data from File
Hi everyone,
I'm currently working on a program that will give me the averages of scores and stores them into a one-dimensional arrray. I'm having trouble in regards to where I should be putting the code that will give me the table for my calculations.
Before or after my calculations?
This is what the table should look like:
http://i33.photobucket.com/albums/d8...00000Table.jpg
So far for the table I have the following:
Code:
cout << left;
cout << setw(25) << "Global Navigation\n";
<< setw(21) << "Grade Report - Summer 2008\n";
<< setw(12) << "Instructor : C. Columbus Section No. 0104\n\n";
<< setw (0) << "Name" << setw (20) << "#
I'm not sure how to continue it. To show #1, #2 etc depending on the amount of scores per student. (As it will not always be 4)
I hope I've made myself clear.
Any help would be appreciated!