

Beyond main.cpp: Building a Maintainable C++ Project
Getting a C++ program to work is one thing. Building a project that stays easy to extend, test, and maintain as it grows is another.
In this live coding workshop, Nikolai Kutiavin starts with something deliberately simple: a calculator that takes two numbers and one operation, all in a single main.cpp. Then the requirements change. The calculator now has to handle complex expressions, operator precedence, and parentheses.
You’ll watch those new demands expose the limits of the original design, step by step. Then you’ll see the code evolve into a properly structured C++ project, with separate components, a CMake build, and unit tests that protect it as it changes.
This session isn’t about syntax or clever algorithms. It’s about the engineering decisions behind maintainable C++: what to change, when to change it, and when to leave well alone.
What you’ll learn
How to recognise when a simple design needs to evolve as requirements grow
How to separate responsibilities and organise code into components with clear interfaces
How to structure a C++ project with CMake, using libraries and executable targets
How to use unit tests to verify behaviour, catch regressions, and change code with confidence
How to keep complexity in check while making your applications easier to maintain and extend
Bonus: Every attendee gets the complete source code, including each stage of the project’s evolution, so you can retrace the refactor at your own pace.
Who should attend
This is for C++ developers who know the language fundamentals and want to go further. If you want to structure, build, and test real applications rather than single-file examples, it’s for you.
Your instructor
Nikolai Kutiavin is a Senior Software Engineer and the author of No More Helloworlds: Build a Real C++ App.