Intro to C++
Instructors: Bhavay Goyal, Kalp Shah, Ramji Purwar
Lecture slides and resources. Slides open in a new page and can be presented full screen (press F).
Lectures
Lecture 1: Why C++, and your first programs
Why C++ is fast, how it runs, first programs, data types, operators, loops, competitive programming basics and compiler optimizations.
if / else and switch, loops and patterns, Big-O intuition, arrays, vectors and their costs, and useful STL functions.
Lecture 3: Vectors Recap and Strings
A recap of vectors, followed by strings in C++ and the operations you use on them.
Lecture 5: Sets, Maps and Unordered Maps
Sets, maps and unordered maps in C++: how they work, their costs, and when to use each.