By Topic

A framework for dynamic checks of C arrays via a C++ class

Sign In

Cookies must be enabled to login.After enabling cookies , please use refresh or reload or ctrl+f5 on the browser for the login options.

Formats Non-Member Member
$33 $13
Learn how you can qualify for the best price for this item!
Become an IEEE Member or Subscribe to
IEEE Xplore for exclusive pricing!
close button

puzzle piece

IEEE membership options for an individual and IEEE Xplore subscriptions for an organization offer the most affordable access to essential journal articles, conference papers, standards, eBooks, and eLearning courses.

Learn more about:

IEEE membership

IEEE Xplore subscriptions

2 Author(s)
K. E. Macphee ; Sch. of Comput. Sci. & Software Eng., Monash Univ., Clayton, Vic., Australia ; T. I. Dix

The ability to define overloaded operators and generic templated classes in C++ provides a mechanism for the definition of array classes. We present an array class hierarchy that can be substituted for built-in arrays in a given C program, with minimal changes to the actual code and no change in the run-time semantics of the program. This augments our previous work (1997) that developed a class hierarchy for C pointers. The array class hierarchy provides a framework for customising the semantics of array operations and enables, for example, full bounds checking to be performed. By translating the original source code declarations to use the array class, so-called safe arrays can be provided

Published in:

Software Engineering Conference, 1998. Proceedings. 1998 Australian

Date of Conference:

9-13 Nov 1998