Skip to content

Glossary: C++ Basics

Class

Also written: classes

A type you define that bundles data with the functions that work on it, and can hide that data. `Stock` is a class that keeps a bag count valid.

Where the book teaches it

Related terms

ObjectEncapsulationstruct