codice:
int i,j;
i = quellochetipare;
j= quellochevuoi;

int *t = new int[i][j];
ecco la tua matrice