31.01.2017, 17:21
You can think of arrays like tables:
One dimension ([]) = number of rows,
Two dimensions ([][]) = number of rows, number of columns (tabular),
Three dimensions ([][][]) = number of tables, number of rows, number of columns.
It is usually not necessary to actually put numbers between the brackets. The compiler can calculate the size.
One dimension ([]) = number of rows,
Two dimensions ([][]) = number of rows, number of columns (tabular),
Three dimensions ([][][]) = number of tables, number of rows, number of columns.
It is usually not necessary to actually put numbers between the brackets. The compiler can calculate the size.