[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
array indexing
Array indexing
The technique of accessing an array using an index (and the index operator '[]'). The other technique is ?pointer arithmetic.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
array indexing
Array indexing
The technique of accessing an array using an index (and the index operator '[]'). The other technique is ?pointer arithmetic.
int array[10]; array[0] = 6; //Write to array std::cout << array[0] << std::endl; //Read from array
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
