How to safely return int pointerok so [code]int * hashtable::lookup(double x) { int bucket = hash(x); //hash(x) returns an int....
How to safely return int pointerI have a lookup function in my hash table class which returns a pointer to the hash table bucket if ...
Traverse Indexed Object using Pointer Mathim not sure I understand you 100%. I thought of this solution. I left nodedist as non-const in t...
Traverse Indexed Object using Pointer Maththanks for being patient. when you say "size of a pointer-to-node", is that the distance from one n...
Traverse Indexed Object using Pointer Mathi was more concerned that [code] const ptrdiff_t nodedist = sizeof(head); [/code] wasn't a good ...
This user does not accept Private Messages