Creating an Array: Difference between revisions
Content added Content deleted
(→{{header|C++}}: modified STL example (it was misleading as it was; I guess the Qt and MFC entries should be changed, too)) |
|||
Line 799: | Line 799: | ||
]</lang> |
]</lang> |
||
You would call the array by this code. |
You would call the array by this code. As arrays are zero-indexed, this will call the 4th element on the second list |
||
<lang ruby>array[1][3]</lang> |
<lang ruby>array[1][3]</lang> |
||