it works ok, until the point in the code when i have to dynamically increase the array size. After that I don't know already how many elements are there in my array. Thus the condition
My question is there any way how to set the condition of doing something with the array while ANY of it's elements are/is still greater than 0 without specifying the concrete size of the array?
Like in shell script you can do something like while(ar[@] > 0)...
Is there something like this in c++?