2
switch (mode) {
case 0:
this->h = &hashTable::hLinearProbing;
break;
case 1:
this->h = &hashTable::hDoubleHashing;
break;
case 2:
this->h = &hashTable::hQuadHashing;
break;
}
來電
int hashTable::insert(int key){
this->*h(123,11);
}
我沒有看到任何東西了。我敢打賭,它的東西顯然很明顯。提前致謝。