Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下内存的静态声明:
void* array[5000];
如何operator new在 C++ 中分配相同的内存?
operator new
void **array = new void*[5000];
上面有一个指针数组,这里只是一个整数数组。
整数数组 = 新整数 [5000];