Skip to main content

Abstract

The great strength of C++ is its object-oriented nature. I’m implying a great deal by this statement, and I’ll spend the next five chapters expanding on this topic. In this chapter and the next, I’ll discuss the foundation of object-oriented programming—the ability to define your own data types—but there is much more to this than simply adding new types. Object-oriented programming provides you with a powerful approach to programming that is fundamentally different from what you have seen up to now. In Chapters 13, 14, and 15 you’ll explore the detail of all the C++ techniques you might need to implement your own data types.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Ivor Horton

About this chapter

Cite this chapter

Horton, I. (2004). Creating Your Own Data Types. In: Ivor Horton’s Beginning ANSI C++: The Complete Language. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0656-9_11

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0656-9_11

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-227-4

  • Online ISBN: 978-1-4302-0656-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics