Comments
- Single line:
// text - Multi-line:
/* text */
Syntax
- Statements end with a semicolon
;. - C++ is case-sensitive (
Mainis notmain). - Code blocks are defined by
{ }.
C++ Masterclass: From Zero to Hero
// text/* text */;.Main is not main).{ }.