3,245
社区成员
发帖
与我相关
我的任务
分享
void new_int_arr(int** pNewInt)
{
pNewInt = new int*[50];
for(int i = 0;i<50;i++)
pNewInt[i] = new int[50];
}
int** new_int_arr()
{
int** pNewInt = new int*[50];
for(int i = 0;i<50;i++)
pNewInt[i] = new int[50];
return pNewInt;
}
void new_int_arr(int**& pNewInt)
{
pNewInt = new int*[50];
for(int i = 0;i<50;i++)
pNewInt[i] = new int[50];
}