Abstract
In this chapter, I’ll expand on the discussion of types defined as structures and look into one of the most fundamental tools in the C++ programmer’s toolbox: classes. I’ll also introduce some ideas that are implicit in object-oriented programming and start to show how these are applied in practice.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2004 Ivor Horton
About this chapter
Cite this chapter
Horton, I. (2004). Classes: Defining 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_12
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0656-9_12
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-227-4
Online ISBN: 978-1-4302-0656-9
eBook Packages: Springer Book Archive