@mao 我建议你把两种完整的代码发过来,可能是其他原因。我也不清楚new int[10],出来的是什么类型,一般是用int *来接,T[]向T*有个隐式转换,一般用指针来指向数组会脱去一层,我的意思也就是:T (*line)[N] = new T[M][N];
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