I was reading an example of a hash table implementation in C++ from a website and saw this.
private:
HashEntry **table;
public:
HashMap() {
table = new HashEntry*[TABLE_SIZE];
for (int i = 0; i < TABLE_SIZE; i++)
table[i] = NULL;
}
The line with the syntax I don't understand is:
table = new HashEntry*[TABLE_SIZE];
What does it mean to have the asterisk before the brackets like that?