Posted By: Arrovs
Unintialized array or dynamic pointer array - 07/09/12 21:50
So in struct i could vish line like this:
it gives erros - no idea vhat bad is in this. In C# its standart.
But this vorks - but i cant knov its length at moment so it sucks.
And again. In function i cant initialize pointer array vith variable, but only vith handvritten number.
Vhat is difference - vhy it happens?
or im just too stupid to do things right?
Code:
BMAP* bmap_array[];
it gives erros - no idea vhat bad is in this. In C# its standart.
Code:
BMAP* bmap_array[10];
But this vorks - but i cant knov its length at moment so it sucks.
Code:
function blabla(var parameter) { BMAP* bmap_array[parameter]; }
And again. In function i cant initialize pointer array vith variable, but only vith handvritten number.
Vhat is difference - vhy it happens?
or im just too stupid to do things right?