CheatsheetKit

Language Pack · Mid to Senior

C++ Developer Pack

RAII, move semantics, templates, STL, memory and modern C++ interview questions.

Modern C++: ownership, templates, STL containers, performance and the systems questions.

Questions
360
Topics
20
Pages
304

Get the C++ Developer Pack — $9 One-off. Delivered as a PDF by email the moment payment clears.

Prices shown are a USD base. Your local-market price is calculated at checkout in your own currency, plus any local sales tax.

What is inside

20 chapters, in the order the interviews tend to ask them:

  1. The object model and object lifetime
  2. Classes, inheritance and runtime polymorphism
  3. RAII and deterministic resource management
  4. Smart pointers and expressing ownership in the type system
  5. Move semantics and value categories
  6. The rule of five and the rule of zero
  7. Templates, deduction and constraints
  8. STL containers and choosing between them
  9. Iterators, algorithms and range based for
  10. Exception safety and error reporting
  11. The preprocessor and translation phases
  12. Modules, headers and API boundaries
  13. Compile times, build systems and header hygiene
  14. Threads, mutexes and condition variables
  15. The C++ memory model and atomics
  16. Futures, promises and async primitives
  17. Pointers, references, arrays and raw memory
  18. Constness, constexpr and compile time computation
  19. Overload resolution, conversions and casts
  20. Performance, profiling and evidence

How the answers are built

Each chapter opens with the checklist the question is really testing. A few from this pack:

Questions this pack covers

  1. What is the object model in C++, in the words the standard actually uses?
  2. How does object lifetime differ from storage duration in C++?
  3. How does virtual dispatch work when you call through a base pointer?
  4. What is object slicing, and when does it bite in real code?
  5. What does resource acquisition is initialization actually guarantee?
  6. How do you make a C++ type own a raw file descriptor?
  7. When should you choose unique_ptr over shared_ptr?
  8. Why does shared_ptr have a weak_ptr companion type at all?

Each one is answered in full in the pack, with the reasoning written out rather than a bullet list.

Related packs

About this pack

How many questions?
360, spread across 20 topics, written out in full across 304 pages.
Do the answers just list keywords?
No. Each answer is written as prose, because that is what you have to reproduce when someone asks you the question.
How do I get it?
Pay once and the PDF arrives by email immediately, with a signed download link.
Can I get it refunded?
Yes, if it is not what you expected. See the refund policy.