摘要: 让c++ 函数返回一个数组在c++中是不允许数组作为函数的返回值的int [] someFunction( ); //ILLEGAL要想实现函数返回一个数组,那返回对应数组里面类型的指针you must return a pointer to the array base type and have... 阅读全文
posted @ 2015-07-05 16:08 silent-bobo 阅读(1089) 评论(0) 推荐(0) 编辑