求助 Show more
我用二级指针申请内存的时候,为啥会在函数中正常,然而在main中无法运行啊?
for(i = 0;i<g;i++){ n[i] = new int[g]; }
用的就是上面这个方式申请的(n是直接通过int **来声明的,g是一个int型的数)
Why is this step necessary? hello.2heng.xin might not be the server where you are registered, so we need to redirect you to your home server first. Don't have an account? You can sign up here
hello.2heng.xin