Coming from a lingo/actionscript background, I am used to being able to manipulate array data at runtime- pushing, popping, getting the length, etc. This is really useful and saves the headache of having to keep an array index, an array length, etc. as separate variable. It is also useful for creating simple stacks.
Is there a way to do this in c that I am missing?
Same for storing mixed data types in an array like ['b', 25, 0] - this might describe some event params needed by a function - and I'd like to create a stack of such things
[['b', 25, 0], ['a', 333, 0], ['f', 212 -5]] etc.