Example: Array Abstract Data Type

An array is not much more than a pointer and some space in memory. Primitive capabilities! There are many operations that would be nice to perform with arrays, but there are not built-in C++. With C++ classes, the programmer can develop an array ADT is preferable to 'raw' arrays. Although the language is easy to extend with these new types, the base language itself is not changeable.

2004-07-29