# Teaching notes

## Learner
- Experienced C programmer; last substantial C++ exposure was classes and some templating in the mid-1990s.
- Goal confirmed on November 24, 2026: refresh C++ broadly through practical projects.
- Every lesson must contain exercises. This requirement applies to future lessons as well as the first.

## Teaching approach
- Teach one useful skill at a time. Explain new terms when first used, then use the same definitions in the reference sheets.
- Pair a prediction or retrieval exercise with code the learner writes or changes. Supply immediate self-checks, then review the learner's reasoning and code in chat.
- Begin later lessons with a short recall exercise; revisit earlier skills after a delay. Keep solutions behind an explicit reveal or provide them after an attempt.
- Record demonstrated understanding separately from material merely provided. An exercise is not complete until the learner supplies evidence.
- Start with small text-processing tools. Later project choices and pace remain adjustable; there is no fixed lesson count.
- Keep root `index.html` current with available lessons and references, and point every Course home link to it.

## Current state
- Lesson 1 is ready: [scoped resource cleanup using a file reader](lessons/0001-scope-cleanup.html), with a prediction exercise, a coding exercise, and recall practice.
- No exercises have been attempted or assessed yet.
- The reference example passes 8 behavior checks. The learner starter passes 8 of 10 checks; its 2 failures deliberately cover skipping leading empty lines and rejecting all-empty input.
- Local tools observed on November 24, 2026: GCC 16.2.1 and clang++; use explicit `-std=c++20` in course commands.
