C++ L07 – Arrays

On the previous post we discussed about pointers. Pointers is a very important feature of C++ and it is something missing from other similar object oriented languages like Java and C#. While pointers is a great feature and a must for high performance it is also a source of great pain and agony. This power and agony both come from memory management.

Pointers provide direct access to memory. An array is the simplest data structure, since it is just a block of memory. It is also one of the most useful.

Continue reading “C++ L07 – Arrays”