I want a list that include matrixes (not implementing matrix as a list) . and I will add matrixes when I want.
Is it the best way to take a dymamic memory with matrix size(row*column) and add the pointer that reference matrix to the list. But in this way, if you want to get a location on matrix, example, for matx[3][4]
you must write *(matx+i*columnSize + j) or maybe *(matx+findlocation(i,j))
i = row, j = column
is there a way that I can just use matx[3][4] to get one value on matrix that in a list ?
Matrix is in a linked list maybe seemed unnecessary but if you want to make a game and make a agent(artificial intelligence) that play with the user. Probably to see the future actions, you will save matrixes to a list or tree...