# Modern C++ resources

Sources checked on November 24, 2026. Each lesson assigns a short reading; this list is for lookup, not prerequisite homework.

## Knowledge

- [C++ Core Guidelines, R.1: automatic resource management](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr-raii)
  Edited by Bjarne Stroustrup and Herb Sutter. Use for resource ownership and RAII, the practice of tying a resource to an object's lifetime. Lesson 1's primary reading is this single rule and its examples.
- [Bjarne Stroustrup: A Tour of C++, third edition](https://www.stroustrup.com/tour3.html)
  An optional compact overview for experienced programmers, covering C++20 and selected C++23 facilities. The author's page includes a free sample chapter on containers; buying the book is not required for this course.
- [Bjarne Stroustrup: resource cleanup and the absence of finally](https://www.stroustrup.com/bs_faq2.html#finally)
  A short explanation connecting a local object's destructor to resource release. Use when the relationship to explicit C cleanup needs another example.
- [C++ working draft: local declarations and destruction](https://eel.is/c++draft/stmt.dcl), [file opening](https://eel.is/c++draft/ifstream.cons), and [file-buffer destruction](https://eel.is/c++draft/filebuf.cons)
  Primary language and library wording for local destruction order, stream construction, and automatic file closing. This is a living working draft, not a frozen C++20 text; consult it for exact rules, not as an introductory tutorial.
- [C++ working draft: line input](https://eel.is/c++draft/string.io), [string capacity](https://eel.is/c++draft/string.capacity), and [stream state](https://eel.is/c++draft/iostate.flags)
  Lookup references for `std::getline`, `std::string::empty()`, and stream success/failure checks. Use for the first file-reading exercise and its empty-line cases.

## Tool documentation

- [GCC: C++ dialect options](https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html)
  Compiler reference. Course commands select their language standard explicitly rather than relying on a compiler's default.

## Wisdom (Communities)

No community chosen yet. When the learner has a project or a design question that benefits from practitioner feedback, find a suitable community and ask whether they want to participate.

## Gaps

Find focused primary sources as lessons reach move semantics, algorithms, generic programming, and concurrency. Do not treat a future-topic list as assigned reading.
