This document discusses various C++ basics including:
- Structured programming has advantages for building internal object structures and manipulating objects.
- Interpreters directly execute programs without compiling, used when programs are frequently updated. Compilers produce faster compiled versions.
- Escape sequences like \n control printers and are not printed.
- Namespaces like std avoid naming collisions between standard and custom libraries.
- Object-oriented programming has advantages like reduced errors from data encapsulation and isolation.
- The math.h library contains mathematical functions like pow, sqrt, cos.
- Function prototypes declare functions before use for type checking.
- Blocks declared with braces have their own scope and hiding rules.
- time(0