Skip to content

Glossary: C++ Basics

struct

Also written: structs

A way to make a new type that groups several members, such as `Item` with a code, name and price. Its members are public by default, unlike a class.

Where the book teaches it

Related terms

ClassMember