0
Array and Loops.
How can I create an Array that does not have a data limit? using a loop to add the necessary data, someone please tell me.
9 Respuestas
+ 3
create your array dynamic to extend the array itself
+ 3
Andrey On dynamic arrays:
https://www.tutorialspoint.com/What-are-dynamic-arrays-in-Chash#
+ 1
A program stores the data it uses in memory, so technically speaking, the amount of available memory, apart from what was already used by O/S and other programs/services etc. will be the allocation limit I suppose.
+ 1
It is that I need to save a certain amount of data in an array, but it is a code that generates a lot of data, of which I do not know how many they will be. that's why my question.
+ 1
Andrey,
You might consider using one of the Collection in case of dynamic size container.
https://docs.microsoft.com/en-us/dotnet/standard/collections/
+ 1
Thank you so much Ipang.
0
I don't understand, what do you mean? or in what way would it be done?
0
Thank you so much.
0
one more question, what code would you use to find a palindrome in an array?