Thread: hashing help
View Single Post
Old 06-28-2004, 01:39 AM   #3 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Code:
Index <Student, Student.itsID> I;
Urm, you entered Student correctly but Student.itsID is wrong. You need to specify a type. Most likely an int to to keep it basic.

Make sure you define a key and a hashmethod in class Student.
__________________
Valmont is offline   Reply With Quote