|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Mondsreitersmann
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
|
Anyone can tell me what is wrong with this program?
Here it is I can't get the load_mark and display_record functions to work!! ![]() Any ideas? I just spent the entire day on this and my brains are fried. TIA
__________________
Darum still, füg' ich mich, wie Gott es will. Nun, so will ich wacker streiten, und sollt' ich den Tod erleiden, stirbt ein braver Reitersmann. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
1. I suggest you type the parameter list in function prototypes, it's easier to read and won't confuse the compiler.
2. line 69 should be: Code:
index=load_mark(MAX_SIZE, student_name, student_number, mark1, mark2, final); Code:
display_record(index, student_name, student_number, mark1, mark2, final); Code:
getline(myin, temp_s);
|
|
|
|
|
|
#3 |
|
Mondsreitersmann
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
|
It's working now!!
**Nuk dances** You da man, aym!! Thanks!!
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
no problem
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|