int* HT;
int HTc = 500;
HT = new int[HTc] = {-1}; //Fill array with -1
I get the warning:
extended initializer lists only available with -std=c++0x or =std=gnu++0x
I'll assume this means it isn't compatible with the ANSI standard, which my prof. is nuts for. How else would I do this though?
std::fillover it. (Or if your professor is stupid in that regard as well, make your own fill.)