• Wed. Dec 7th, 2022

SoftwareMile.com

Latest Software News and Hacks

Dynamically change size multidimensional array.

Byadmin

May 31, 2022

This is what I am trying to do: I am trying to make const char arrays where I first look in a multidimensional array if there is an row that has an certain value on a certain position. And if this not case, create this value on this position and store the whole array into the earlier mentioned multidimensional array.

The challenge is that I only know the maximum amount of columns but I don’t know how many rows I will get.

Is there a way to dynamically raise the amount of rows?

Thanks in advance.

submitted by /u/BlauwePil
[link] [comments]


Go to Source of this post
Author Of this post: /u/BlauwePil
Title Of post: Dynamically change size multidimensional array.
Author Link: {authorlink}