2.3.1 Structs

A Data Structure (struct) is a basic C++ element that is used to store multiple data elements (members) in a single variable. Unlike a vector, a struct stores different data types established with a template.

In this lesson, you will explore the basic uses of a struct, including defining and using structs.

Last updated