From c72dd0081c54420a544d0876d983b6aece003da1 Mon Sep 17 00:00:00 2001 From: Antonio Coratelli Date: Tue, 30 Apr 2024 19:49:26 +0200 Subject: [PATCH] Add bool to C++ roadmap (#5578) --- src/data/roadmaps/cpp/content/100-introduction/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data/roadmaps/cpp/content/100-introduction/index.md b/src/data/roadmaps/cpp/content/100-introduction/index.md index f47d3f93f..7bca193d0 100644 --- a/src/data/roadmaps/cpp/content/100-introduction/index.md +++ b/src/data/roadmaps/cpp/content/100-introduction/index.md @@ -49,6 +49,7 @@ C++ has several basic data types for representing integer, floating-point, and c - `float`: single-precision floating-point values - `double`: double-precision floating-point values - `char`: single characters +- `bool`: boolean values Variables must be declared with a data type before they can be used: @@ -57,6 +58,7 @@ int x; float y; double z; char c; +bool b; ``` ## Control Structures