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 newC ++で使用して同じメモリを割り当てるにはどうすればよいですか?
operator new
void **array = new void*[5000];
上にはポインタの配列がありますが、ここでは単なる整数の配列です。
int 配列 = 新しい int [5000];