28.07.2010, 17:25
I have an idea about workaround, if anyone needs it:
Idea is that instead of using sizeof, you can use another variable that will determine highest member. It's working on my server, but there are two main problems: memory usage can be high since you have to initialize large array and what to do if number of entries still exceeds array size.
Код:
new array[200], pointer; pointer = 0; //adding member array[pointer]=something pointer = pointer + 1 //getting members for (new i = 0;i < pointer;i++) { // do something }