Repository navigation
Expand file tree
/
Copy pathcpp-short-course.qmd
More file actions
30 lines (24 loc) · 1.62 KB
/
Copy pathcpp-short-course.qmd
File metadata and controls
30 lines (24 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: "C++ Short Course (optional)"
---
All programming assignments in this course use C++. You'll set up your programming infrastructure and get a brief introduction to the language in your first lab, but if you'd like a more thorough, principled walkthrough of the language beforehand, this optional recorded tutorial series covers the parts of C++ this course actually uses — and the typical "gotchas" that trip people up. (Recommended playback speed: 1.5x.)
In this tutorial, we cover how C++ implements:
- Classes
- Pointers
- Arrays
- Parameter passing
- Return values
- Constructors (reprise)
- The Big 3
- Memory management
- Overloading operators
- Inheritance (not included)
- Templates (superficial)
- Generic programming (not included)
## Sessions
| Session | Video | Slides |
|---|---|---|
| Session 1 | [Recording](https://ubc.zoom.us/rec/share/nwRppLXCkivYPeuyOI0y1V7Neuj4ovahP46t_BP2d5O-V8RpvWRDUvA5A30DSONn.5nCceoYt0Q1tpTdJ) — Passcode: `q6jq#bWD` | [cppShortCourse1.pdf](files/cpp-short-course/cppShortCourse1.pdf) |
| Session 2 | [Recording](https://ubc.zoom.us/rec/share/kAvxveW4Vh7spadP58yDFBGyl-FQzqIaV5dIn3oSeEfFEtwwQjBrJceBtdsrOWrI.pk6ieiR6wg1oA5uv) — Passcode: `6=w?=m3O` | [cppShortCourse1.pdf](files/cpp-short-course/cppShortCourse1.pdf) |
| Session 3 (starts at 30 min) | [Recording](https://ubc.zoom.us/rec/share/BHqRJ42fJPKrJGL-jtMPbKuKW10I8p_7n5d_NNuqEagOlpg4-Vlui-wHueIJVu24.46HMNQAa1fo8fp4d) — Passcode: `C0xX^exd` | [cppShortCourse2.pdf](files/cpp-short-course/cppShortCourse2.pdf) |
<!-- TODO: passcodes transcribed from a screenshot -- double check them against the source before relying on them. -->