> For the complete documentation index, see [llms.txt](https://mr-poston-1.gitbook.io/c++/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mr-poston-1.gitbook.io/c++/2.-going-beyond-the-basics/2.3-structs/2.3.1-structs.md).

# 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.
