> 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++/1.-c++-basics/1.2-basic-data-types/1.2.1-basic-data-types.md).

# 1.2.1 Basic Data Types

In this lesson, you will explore basic data types in C++. Like other computer languages, C++ has data types for numbers, characters, and Boolean types.

In the table below, you can see the basic data types that will be explored in this lesson.

| Variable Type | Examples                     |
| ------------- | ---------------------------- |
| `string`      | “Hello”, “eagle”, “Computer” |
| `char`        | ’s’, ‘H’, ‘Q’                |
| `int`         | 4, -852, 387245              |
| `double`      | 7.8,-11.79835, 56732.8       |
| `bool`        | true, false, 1, 0            |
