Skip to content

Commit b361d98

Browse files
committed
fix(data-types): add spacing on the data-types specification
1 parent 061968d commit b361d98

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

courses/intro/03-datatypes/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ We are going to cover this again when covering [pointers and functions](../06-fu
146146
## Variable Naming
147147
148148
Variable names are called identifiers. In C++, you can use any combination of letters, digits, and underscores to name a variable, it should follow some rules:
149+
149150
- Variables can have numbers, en any position, except the first character, so the name does not begin with a digit. Ex. `point2` and `vector2d` are allowed, but `9life` isn't;
150151
- Variable names are case-sensitive, so "myVar" and "myvar" are considered to be different variables;
151152
- Can have `_` in any position of the identifier. Ex. `_myname` and `user_name` are allowed;

0 commit comments

Comments
 (0)