Simple like that, is what i want.

On VB, it would be something like (dunno if it really works):

VB Code:
  1. Dim i, j As Integer
  2. Dim arr As String
  3.  
  4. i = 5
  5. j = 10
  6. arr = New Array(i, j)

On C, I'm trying to do similar by the following:

Code:
int i, j;
char **arr;

char = (char**) malloc(sizeof(char) * i * j);
But it isn't working! I must be doing something wrong, I'm not used to C pointers / array stuff... It's really confusing. :P