Add bool to C++ roadmap (#5578)

pull/5579/head
Antonio Coratelli 7 months ago committed by GitHub
parent f2a2ac9ec8
commit c72dd0081c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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 - `float`: single-precision floating-point values
- `double`: double-precision floating-point values - `double`: double-precision floating-point values
- `char`: single characters - `char`: single characters
- `bool`: boolean values
Variables must be declared with a data type before they can be used: Variables must be declared with a data type before they can be used:
@ -57,6 +58,7 @@ int x;
float y; float y;
double z; double z;
char c; char c;
bool b;
``` ```
## Control Structures ## Control Structures

Loading…
Cancel
Save