@Rackscha: this code works perfect
STRING **mystring[5][5]; //note the DOUBLE-'*'
int x,y;
int main()
{
mystring = sys_malloc(sizeof(STRING**) * 5);
for( y = 0; y < 5; y++)
{
mystring[y] = sys_malloc(sizeof(STRING*) * 5);
for( x = 0; x < 5; x++)
{
mystring[x][y] = str_create("");
}
}
}
but if i left the 1 line at its origin
STRING **mystring; //note the DOUBLE-'*'
it will not work. i think about dynamic creation of arrays.
for example the user inputs at the enginescreen some numbers and the array-dimensions will create runtime with this input.