Skip to content

Commit b083c70

Browse files
committed
fix(typos): fix minor typos
1 parent ceda9d8 commit b083c70

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

courses/intro/03-datatypes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ In C++, you can use an explicit cast operator to explicitly convert a value of o
524524
// ref: https://en.wikibooks.org/wiki/C%2B%2B_Programming/Programming_Languages/C%2B%2B/Code/Statements/Variables/Type_Casting
525525
(TYPENAME) value; // regular c-style. do not use this extensively
526526
static_cast<TYPENAME>(value); // c++ style conversion, arguably it is the preferred style. use this if you know what you are doing.
527-
TYPENAME(value); // functional initialization, slower but safer. might not work for every case. use this if you are unsure or want to be safe.
527+
TYPENAME(value); // functional initialization, slower but safer. might not work for every case. Use this if you are unsure or want to be safe.
528528
TYPENAME{value}; // initialization style, faster, convenient, concise and arguably safer because it triggers warnings. use this for the general case.
529529
```
530530

courses/intro/08-arrays/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ Vectors are the safest way to deal with dynamic arrays in C++, the cpp core guid
212212
# Extra curiosities
213213

214214
Context on common bugs and vulnerabilities:
215+
215216
- [Weaknesses in the 2022 CWE Top 25 Most Dangerous Software Weaknesses](https://cwe.mitre.org/data/definitions/1387.html)
216217
- [US Government enforces cyber security requirements](https://nvlpubs.nist.gov/nistpubs/ir/2021/NIST.IR.8397.pdf)
217218
- https://en.cppreference.com/w/cpp/language/array

0 commit comments

Comments
 (0)