Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-17-2004, 01:10 AM   #1
Mondsreitersmann
 
Nuclear Krusader's Avatar
 
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
Pissed What is wrong with this program?

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.
Nuclear Krusader is offline   Reply With Quote
Old 03-18-2004, 07:44 AM   #2
aym
Registered User
 
aym's Avatar
 
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);
3. line 73 should be:
Code:
display_record(index, student_name, student_number, mark1, mark2, final);
4. line 179 should be:
Code:
getline(myin, temp_s);
Just some small mistakes here and there, I think you know what was wrong with your program now, if you have any questions, just ask
aym is offline   Reply With Quote
Old 03-18-2004, 05:10 PM   #3
Mondsreitersmann
 
Nuclear Krusader's Avatar
 
Join Date: Jul 1999
Location: Skingrad
Posts: 8,781
It's working now!!

**Nuk dances**

You da man, aym!! Thanks!!
Nuclear Krusader is offline   Reply With Quote
Old 03-19-2004, 09:58 AM   #4
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
no problem
aym is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:49 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2