
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
See how the course is organised, how each lesson builds interview skill, and how to use the slides, projects, workshops and quizzes to prepare efficiently.
Download the slides from the Resources tab.
Walk through the typical stages of a C++ interview, from recruiter screen to on-site rounds, and what each stage is really testing.
Download the slides from the Resources tab.
Learn a simple structure for technical answers: state the idea, show a tiny example, name the trade-off, so interviewers can follow your reasoning.
Download the slides from the Resources tab.
Master the clarify, plan, code, test and explain framework that keeps you calm and structured in every coding question.
Download the slides from the Resources tab.
Turn an unknown question into a strong signal: reason from first principles, think aloud, and stay honest without freezing.
Download the slides from the Resources tab.
The most common reasons capable candidates fail C++ interviews, and the habits that avoid each one.
Download the slides from the Resources tab.
Install Visual Studio Community with the right C++ workload, step by step, ready for every project in this course.
Download the slides from the Resources tab.
Create, build and run a C++ project in Visual Studio, set the C++20 standard, and understand the files a solution contains.
Download the slides and the Visual Studio projects from the Resources tab.
Use breakpoints, stepping, the Watch and Locals windows and the call stack to find bugs fast, a skill interviewers love to see.
Download the slides from the Resources tab.
A checklist for online editors, shared screens and whiteboards, so your setup never costs you points in an interview.
Download the slides from the Resources tab.
Put the setup into practice: build, run and debug a small program from scratch.
Download the slides and the Visual Studio projects from the Resources tab.
Refresh variables, fundamental types, initialisation forms and scope, with the details interviewers like to probe.
Download the slides and the Visual Studio projects from the Resources tab.
Review functions, overload resolution and default arguments, including the traps that show up in output-prediction questions.
Download the slides and the Visual Studio projects from the Resources tab.
Pass by value, by reference and by const reference: when to use each and how to explain the cost.
Download the slides and the Visual Studio projects from the Resources tab.
Const correctness for variables, pointers, references and member functions, and why it signals a careful engineer.
Download the slides and the Visual Studio projects from the Resources tab.
Classes, access control and encapsulation, with the invariants and interfaces interviewers expect you to design.
Download the slides and the Visual Studio projects from the Resources tab.
Constructors, destructors, initialiser lists and the order of construction and destruction, the basis of many interview questions.
Download the slides and the Visual Studio projects from the Resources tab.
Inheritance and runtime polymorphism with virtual functions, the foundation for the advanced polymorphism section later.
Download the slides and the Visual Studio projects from the Resources tab.
A first look at function and class templates, so the advanced templates section builds on solid ground.
Download the slides and the Visual Studio projects from the Resources tab.
Exceptions, error codes and when to use each, plus how exceptions interact with object lifetime.
Download the slides and the Visual Studio projects from the Resources tab.
Timed interview tasks that mix the fundamentals from this section, with model answers and a scoring rubric.
Download the slides and the Visual Studio projects from the Resources tab.
Apply the fundamentals in a comprehensive assignment with a brief, starter code and a model solution.
Download the slides and the Visual Studio projects from the Resources tab.
Commonly reported fundamentals questions answered with a clear structure, safe code and the traps to avoid.
Download the slides and the Visual Studio projects from the Resources tab.
Understand where objects live, how long they live, and how to explain the trade-offs in an interview.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Know exactly what a pointer or a reference promises, and explain const, nullptr and aliasing with confidence.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Pair every allocation correctly, recognise the classic memory bugs, and explain the modern fix in an interview.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Know exactly when every object starts and ends its life, and spot dangling references before the interviewer does.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Use AddressSanitizer, the CRT debug heap, Diagnostic Tools and static analysis, and explain your debugging process in an interview.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Timed interview tasks that mix storage, pointers, new and delete, object lifetime, and leak tools.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Find, prove, fix and explain the memory bugs in a legacy Inventory module, the way a strong candidate would in a code review.
Download the slides, the assignment brief (PDF) and the Visual Studio projects from the Resources tab.
Eight commonly reported memory questions, answered with a clear structure, safe code, and the traps to avoid.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Tie every resource to an object's lifetime, and explain why C++ needs no finally block.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Express exclusive ownership, transfer it with std::move, and explain why unique_ptr costs nothing extra.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Explain shared ownership precisely: the control block, the real costs, weak_ptr, and how cycles leak.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Create smart pointers the modern way, know what make_shared costs, and wrap C resources with custom deleters.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Know which special members the compiler writes for you, when it stops, and how to answer every "rule of" question with confidence.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Name the four guarantees, explain noexcept and stack unwinding, and know when exceptions are the wrong tool.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Timed interview tasks that mix RAII wrappers, unique_ptr and shared_ptr ownership, the rule of zero, and exception safety.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Find, prove and fix the ownership and exception-safety issues in a legacy ConnectionPool and Logger, then defend every choice.
Download the slides, the assignment brief (PDF) and the Visual Studio projects from the Resources tab.
Eight commonly reported RAII, smart pointer and exception-safety questions, answered with a clear structure, safe code, and the traps to avoid.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Learn what lvalue, prvalue and xvalue really mean, and how to explain them clearly before any move semantics question.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Steal resources instead of copying them, write correct move operations, and explain moved-from state with confidence.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
std::move is only a cast. Learn where it silently copies, where it makes code slower, and where it creates bugs.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Know which copies the language removes, which ones the compiler may remove, and how to say the difference in an interview.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Tell forwarding references from rvalue references, explain std::forward, and avoid the classic forwarding traps.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Timed interview tasks that mix value categories, move operations, std::move pitfalls, copy elision, and perfect forwarding.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Count, fix and explain the hidden copies in a legacy MessageQueue module, the way a strong candidate would in a code review.
Download the slides, the assignment brief (PDF) and the Visual Studio projects from the Resources tab.
Eight commonly reported move semantics questions, answered with a clear structure, correct code, and the traps to avoid.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Know exactly what auto and decltype deduce, and explain the hidden copies, references and dangling traps.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Learn the three cases for deducing T, why arrays decay, how CTAD works, and how to make the compiler show you the type.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Unpack pairs, tuples, structs and maps in one line, and explain what the names really refer to.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Know every way to initialise an object, where braces protect you, and where they quietly change the meaning.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Write safer, clearer interfaces with scoped enums, type aliases and attributes, and explain why in an interview.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Return maybe-a-value, hold one of several types, and view text without copying, then explain the traps in an interview.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Timed interview tasks that mix auto and decltype, template deduction, structured bindings, brace initialisation, optional and string_view.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Modernise a C++03-style ConfigParser module, keep its documented behaviour, and explain every change the way a strong candidate would in a code review.
Download the slides, the assignment brief (PDF) and the Visual Studio projects from the Resources tab.
Eight commonly reported type deduction and modern syntax questions, answered with a clear structure, correct code, and the traps to avoid.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Customise templates for specific types, and explain specialisation, overloading and lookup rules with confidence.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Write functions that accept any number of arguments of any type, and explain packs, expansion and folds clearly.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Constrain templates the C++17 way and the C++20 way, and explain why concepts give clearer code and clearer errors.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Move work from run time to compile time, and explain exactly when the compiler must do it.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Ask compile-time questions about types, document template requirements, and explain how the standard library uses traits.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Let a base class call its derived class at compile time, and know when that beats virtual functions.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Timed interview tasks that mix partial specialisation, fold expressions, concepts, constexpr, and CRTP.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Turn a run-time-checked Units library into one the compiler validates, and explain what every compile-time feature costs.
Download the slides, the assignment brief (PDF) and the Visual Studio projects from the Resources tab.
Eight commonly reported template and compile-time questions, answered with a clear structure, correct code, and the traps to avoid.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
See how virtual dispatch really works, what it costs, and why constructors never reach derived overrides.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Why base destructors must be virtual, how copying by value slices objects, and how to explain both in an interview.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Let the compiler check your overrides, and learn the virtual-function traps that interviewers love to show.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Understand object layout, pointer adjustment and virtual inheritance, and explain when multiple inheritance is the right tool.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Learn what undefined behaviour really means, spot the classic cases on sight, and replace each one with defined code.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Build a defence-in-depth toolbox that catches undefined behaviour early, and explain it clearly in an interview.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Timed interview tasks that mix constructor calls, virtual destructors, slicing, override traps, and undefined behaviour.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Find, prove, fix and explain the polymorphism and undefined-behaviour problems in a legacy Shape/Plugin module.
Download the slides, the assignment brief (PDF) and the Visual Studio projects from the Resources tab.
Eight commonly reported polymorphism and undefined behaviour questions, answered with a clear structure, correct code, and the traps to avoid.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Explain size, capacity, growth and reallocation the way an interviewer expects, and know what each costs.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Choose between a sorted tree and a hash table, use the right lookup and insert functions, and give your own keys a hash or an ordering.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Know which iterators, pointers and references survive each container operation, and avoid the classic erase-in-loop bug.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Replace raw loops with named algorithms, and know exactly why remove does not shrink a container.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Use range algorithms, projections and lazy views, and explain clearly who owns the data in an interview.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Explain what a lambda really is, choose captures that cannot dangle, and know when std::function is worth its cost.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Choose containers from access patterns, ordering and memory layout, and defend the choice in an interview.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Timed interview tasks that mix iterator invalidation, algorithms, container choice, lambda captures and ranges.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Fix, redesign, measure and explain a legacy OrderBook built on std::list, the way a strong candidate would in a code review.
Download the slides, the assignment brief (PDF) and the Visual Studio projects from the Resources tab.
Eight commonly reported STL and lambda questions, answered with a clear structure, safe code, and the traps to avoid.
Download the slides (PDF) and the Visual Studio projects from the Resources tab.
Walk into your next C++ interview knowing exactly what will be asked, why it is asked, and what a strong answer sounds like.
Modern C++ interviews go far beyond syntax. Interviewers probe object lifetime, move semantics, undefined behaviour, templates, the STL and concurrency, and they want you to reason out loud, predict tricky output, find bugs in unfamiliar code and write clean, correct C++ under time pressure. This course trains exactly those skills.
What makes this course differentYou learn the concept, see a worked example, run the Visual Studio demo, fix a buggy program, complete a short exercise, then predict the output of an interview drill before the answer is revealed. The lesson ends with rapid-fire interview questions and a review, so every topic is practised, not just watched.
A note on the practice questionsAll questions are original and written in the style commonly described in public candidate reports. Company names describe interview styles only; this course is not affiliated with or endorsed by any company.
Enrol now, open the first project, and start practising like it is interview day.