传递二维数组作为参数 [英] passing a 2d array as a paramater
本文介绍了传递二维数组作为参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法将2d数组传递给c ++中的函数,而没有
来指定数组中元素的数量。这是一个例子
Is there a way to pass a 2d array to a function in c++ with out having
to specifiy the number of elements in the array. Here is an example
展开 | 选择 | Wrap | 行号
推荐答案
la ****** @ yahoo.com 写道:
有没有办法将二维数组传递给c ++中的函数没有指定数组中元素的数量。这是一个例子
Is there a way to pass a 2d array to a function in c++ with out having
to specifiy the number of elements in the array. Here is an example
展开 | 选择 | Wrap | 行号
la ****** @ yahoo.com 写道:
la******@yahoo.com wrote:
有没有办法将2d数组传递给c ++中的函数而没有有
来指定数组中的元素数量。这是一个例子
Is there a way to pass a 2d array to a function in c++ with out having
to specifiy the number of elements in the array. Here is an example
展开 | 选择 | Wrap | 行号
< la ****** @ yahoo.com>在消息中写道
news:11 ********************** @ f14g2000cwb.googlegr oups.com ...
<la******@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
有没有办法将2d数组传递给c ++中的函数,而没有指定数组中元素的数量。这是一个例子
Is there a way to pass a 2d array to a function in c++ with out having
to specifiy the number of elements in the array. Here is an example
展开 | 选择 | Wrap | 行号
这篇关于传递二维数组作为参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文