调整数组大小 [英] Resizing Array problem

查看:69
本文介绍了调整数组大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以一起动态调整3d数组(用于增加页面列的大小)和锯齿状数组(用于增加行列)的大小吗??.我需要这样做,因为我的每个页面列将包含不同数量的行.

Can dynamically resizing 3d array (for increasing page column) and jagged array (for increasing row column) be used together??.. I require this because my every page column will contain different number of rows.

推荐答案

我不这样认为,除非您遍历行并手动复制数据.你想做什么 ?听起来很奇怪.
I don''t think so, unless you iterate over the rows and copy the data across manually. What are you trying to do ? It sounds strange.


这篇关于调整数组大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆