Skip to main content

Dynamic memory allocation

  • Chapter
Programming in C++

Part of the book series: Macmillan Computer Science Series ((COMPSS))

  • 65 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

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)

Publish with us

Policies and ethics