lecture_materials:week_00
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lecture_materials:week_00 [2025-08-18 22:09] – Jeffrey Bergamini | lecture_materials:week_00 [2025-08-19 14:31] (current) – Jeffrey Bergamini | ||
---|---|---|---|
Line 119: | Line 119: | ||
=== raii.cpp (illustrating the concept of RAII) === | === raii.cpp (illustrating the concept of RAII) === | ||
- | <file cpp scopes_annotated.cpp [enable_line_numbers=true]> | + | <file cpp raii.cpp [enable_line_numbers=true]> |
/** | /** | ||
* @file raii.cpp | * @file raii.cpp | ||
Line 163: | Line 163: | ||
std:: | std:: | ||
std::cout << " | std::cout << " | ||
- | // std::cout is just a plain input stream: | + | // std::cin is just a plain input stream: |
std::cout << " | std::cout << " | ||
// Lifetimes of `hamlet` and `othello` end here. | // Lifetimes of `hamlet` and `othello` end here. |
lecture_materials/week_00.1755580168.txt.gz · Last modified: by Jeffrey Bergamini