调整数组大小

编程入门 行业动态 更新时间:2024-10-27 15:24:23
本文介绍了调整数组大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

可以一起动态调整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.

更多推荐

调整数组大小

本文发布于:2023-11-30 11:13:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1649770.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数组   大小

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!