Arrays
suggest changeArrays are elements of the same type placed in adjoining memory locations. The elements can be individually referenced by a unique identifier with an added index.
This allows you to declare multiple variable values of a specific type and access them individually without needing to declare a variable for each value.
A fixed size raw array matrix that is a 2D raw array
Array size type safe at compile time
Expanding dynamic size array by using std::vector
Dynamic size matrix using std::vector for storage
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents