Here's the output for display. Everything except 'Number' and 'Name' are hard coded in. I haven't made it that far yet.
How many records are in the file? 4
Description for #1 Assign1
Description for #2 Assign2
Description for #3 Test1
Description for #4 Final
1 2 3 4 5 6 7 8
Number Name Points Score
====== =============== ====== =====
1 F 100 95%
2 i 100 95%
3 n 100 95%
4 a 100 95%
====== =============== ====== =====
Total -- B-
name is a string, but what you want is an array of strings.
In getName, every time you do cin >> description; the value of description is overwritten. Every time you do cout << name[i]; you only get one character printed, as that is what operator [] does.
Make name in main() char name[256][80]; (256 strings 80 characters each), then change getName() and display() arguments from char name[] to char name[256][]. Then, change line 12 to cin >> description[i]; and I think that should work.