June 2025
Intermediate to advanced
1093 pages
33h 24m
English
So long as you write a small program that fits into a single source file, a C++ project is simple. It becomes more difficult when you need to split your program to increase clarity. What goes where?
In this chapter, I use classes for explanation. If you are working through the book sequentially, please forgive the jumping ahead. But this should not distract from the principles of modularization. You can easily return to the dan chapters later.
Since C++20, modules enable a clean separation of declaration and implementation. They also allow the compiler to import faster than with #include included program parts. Look out for the new module and import keywords.
Although a lot has changed ...
Read now
Unlock full access