- devdocs.io - Online documentation with fuzzy search
- wandbox.org - Online compiler with latest compiler options
- cppinsights.io - Shows how compilers see your code
- Compiler Explorer - Shows assembly for your code
- GDB and LLDB Cheatsheet
- CallumHoward/cpp_workshop.git - Demo code and exercise solutions
- Crash course workshop by Callum
- Pluralsight (Total 1h)
- HackerRank
- YouTube - TheChernoProject
- How C++ Works (20m)
- Variables (14m)
- Reading
- Pluralsight (Total <2h)
- HackerRank
- YouTube - TheChernoProject
- Headers (15m)
- Functions (10m)
- Conditions (24m)
- Loops (13m)
- Control Flow (9m)
- Classes (9m)
- Classes vs. Structs (9m)
- How to Write a Class (12m)
- Constructors (7m)
- Pluralsight (Total <2h)
- HackerRank
- YouTube - TheChernoProject
- How the Compiler Works (18m)
- How the Linker Works (16m)
- Static (7m)
- Static for Classes and Structs (9m)
- Local Static (8m)
- Enum (8m)
- Destructors (5m)
- Inheritance (8m)
- Const (13m)
- Operators and Operator Overloading (13m)
- Demo
- Pluralsight (Total ~1.5h)
- HackerRank
- YouTube - TheChernoProject
- Templates (18m)
- Vectors (14m)
- Sorting (7m)
- Namespaces (13m)
- Member Initialiser List (9m)
- Visibility (9m)
- Virtual Functions (7m)
- Interfaces (7m)
- Demo
- Video: Pointers Intro
- pointers cpp
- swap cpp
- Pluralsight (Total <1.5h)
- HackerRank
- YouTube - TheChernoProject
- Pointers (17m)
- References (10m)
- Arrays (19m)
- Static (STL) Arrays (11m)
- Multiple Return Values (18m)
- The Arrow Operator (8m)
- The "this" Keyword (6m)
- Object Lifetime (11m)
- Demo
- Pluralsight (Total ~1h)
- HackerRank
- YouTube - TheChernoProject
- The "new" Keyword (7m)
- How to Instantiate Objects (13m)
- Heap vs. Stack (20m)
- Multidimensional Array (21m)
- Auto (17m)
- Reading
- Demo
- Pluralsight (Total <1.5h)
- HackerRank
- YouTube - TheChernoProject
- Smart Pointers (12m)
- Ternary Operators (8m)
- Implicit Conversion and the Explicit Keyword (8m)
- Lambdas (12m)
- Copying and Copy Constructors (21m)
- Casting (14m)
- Pluralsight (Total <2h)
- HackerRank
- YouTube - TheChernoProject
- Virtual Destructors (8m)
- Type Punning (13m)
- Unions (9m)
- Timing (11m)
Question 1: - I can't remember if we already covered this. Sorry if we did.
Is there much difference between printf and std::cout? Should we have a preference?
The latter seems more widely used in our examples. But the following was mentioned in one of the above exercises.
"Note: You can also use cin and cout instead of scanf and printf; however, if you are taking a million numbers as input and printing a million lines, it is faster to use scanf and printf."