dynamic memory allocation [closed]
- by gcc
i wanna write a program that creates (allocating memory)
and manipulates (adding elements and increasing memory etc.) integer arrays dynamically according to given input sequences.
input sequence which starts with the maximum
number of arrays, includes integers to be put into arrays and some one letter
characters which are commands to carry out some tasks (activating next array,
deleting an array etc).
also, i wanna create *c_arrays which is the address of the array whose elements are
the actual capacities (How many integer slots are already allocated for an array?) of arrays
how should i organize(set up) the algorithm?