I
Ioannis Hadjichambis
I am trying to implement a hash-table and I would like to rehash it when
it starts to fill up. I am implementing the hash-table with an array
of linked lists. Now for me to increase the size of the hash-table I
must create a new array twice the size of the one before but the array
only accepts an imediate number eg array[1000] and will not accept a
variable eg array[count]. Does anyone know how to solve this problem?
thanks...
it starts to fill up. I am implementing the hash-table with an array
of linked lists. Now for me to increase the size of the hash-table I
must create a new array twice the size of the one before but the array
only accepts an imediate number eg array[1000] and will not accept a
variable eg array[count]. Does anyone know how to solve this problem?
thanks...