Can’t quite figure out what to search on as so far not finding what I want know.
In Pascal I can traverse an array with an unknown index count.
for i:=myArray[LOW] to myArray[HIGH] do begin // Do something end;
Are there similar functions to “HIGH” and “LOW” in C++? I found some results but they rely on the items within the array being the same size, (going from memory here )
for (int i = 0; i < sizeOf(myArray) / sizeOf(myArray)...
I need to use char* arrays so each array item can be different lengths and sizeOf(myArray) means nothing.
Thanks for any help.