Abstract
So far, we have had to make requests for the maximum storage requirements for objects using their type or class defmitions. This chapter shows how storage, of just the right size, can be allocated at run-time. These objects have dynamic duration; they can be allocated storage, and subsequently have the storage deallocated anywhere in a program.
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Copyright information
© 1994 Jean Ettinger
About this chapter
Cite this chapter
Ettinger, J. (1994). Dynamic memory allocation. In: Programming in C++. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-23304-5_9
Download citation
DOI: https://doi.org/10.1007/978-1-349-23304-5_9
Publisher Name: Palgrave, London
Print ISBN: 978-0-333-60682-7
Online ISBN: 978-1-349-23304-5
eBook Packages: Computer ScienceComputer Science (R0)