This is how to make a C style array of pointers right? Wondering cause I want to make an array that can be resized. Although I don't want to use STL. don't ask I'm weird.
Question is. Am I doing this right to avoid memory leaks? Wanting to know before I put it in a class, and stuff.Code:int** T = new int*[1]; T[0] = new int(100); std::cout << *T[0] << std::endl; delete T[0]; delete [] T;