阅读背景:

从函数中返回指向数组的指针的正确方法

来源:互联网 

I am fairly new to C++ and have been avoiding pointers. From what I've read online I cannot return an array but I can return a pointer to it. I made a small code to test it and was wondering if this was the normal / correct way to do this:I am fairly new to C++ and have been avoiding p




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: