By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,421 Members | 1,128 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,421 IT Pros & Developers. It's quick & easy.

hash table

P: 3
hi
i need help for a hash table program in c++ .
my program is for save ,load and find the student.
we should search the student number(for example 81316200) and find it in the file.
hash function= cod mod 10001(primary number) = x size of record
maybe we have hit in the program,if have same remainder for primary number
for multi code we have hit.
i write this record:
Typedef struct
{
long code;
char Name[20];
char Familyname[20];
float Tavg;
long offset; //position in the file//
long link1; //for hit//
long link2;
long link3;
}student;
help me for write the program.
Jun 8 '07 #1
Share this Question
Share on Google+
5 Replies


weaknessforcats
Expert Mod 5K+
P: 9,197
I can help with code that's not working. But I cannot write the code for you.
Jun 8 '07 #2

P: 3
why u cant write for me??
its not important for me that is working or not i want to see it plz...
Jun 8 '07 #3

ilikepython
Expert 100+
P: 844
why u cant write for me??
its not important for me that is working or not i want to see it plz...
Because of this page
Jun 8 '07 #4

P: 3
can u send me your code by email plz?
my email is :hzman20@yahoo.com
Jun 8 '07 #5

ilikepython
Expert 100+
P: 844
can u send me your code by email plz?
my email is <email removed>
Are you serious!?
1. We don't post emails here
2. We don't give code here, we help with problems
3. Before you post, read the link I posted above
Jun 8 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.