One Course
Every lesson, project and mock exam in C and C++.
Billed monthly. Cancel any time.
Level 1: Newcomer
0 points
Sign in to save your progress across devices.
C programming training with a real compiler in your browser. Each lesson has worked examples, then practice problems that compile your code and test it, from your first function to pointers, memory and C++ classes. Two projects and three interview sets come at the end.
scanf and print formatted output with printf in a complete programNULL checksstrcmp, strchr, strtol and snprintfmalloc, realloc and free, and build a growable array, a linked list and a trade ledgerstd::string, std::vector, references, overloads and exceptionsoptional, variant and string_viewunique_ptr and shared_ptr, and move instead of copying, checked by tests that count copies and open handlesconstexprstd::thread code with mutexes, condition variables, futures and a worker pool, in a simulator that exposes races and reports deadlocksUnit 1, First C functions: 6 lessons and 28 checked exercises, with no account or card.
Start the free unitThe rest of the course opens with a One Course or All Access plan. See plans and prices
Choose access here. Your course is already selected.
Build a small trade ledger in C step by step: values, a growing array of trades, notional, positions, cancels and cleanup.
6 steps · 45 minProject · IntermediateA limit order bookBuild a small limit order book class step by step: price levels on both sides, the spread, depth, cancels and a market buy that walks the asks.
6 steps · 50 minProject · AdvancedA thread-safe log serviceBuild a log-processing service step by step: parse lines, keep totals that many threads can update, find the slowest service, feed lines through a closable queue to worker threads, and survive bad input.
6 steps · 70 minMock exam · ExpertC++ timed practice set: a 45-minute coding screenEight short C++ tasks against a 45-minute clock, in the shape of an online coding screen: arrays, strings, maps, a drawdown, a book snapshot and a scope guard.
8 questions · 45 minLearn C and C++ by writing code that a real compiler builds in your browser and tests check the moment you run it. Start in C with functions, arrays, strings, pointers and memory you manage yourself. Then move to C++: references, classes, the standard library, RAII and smart pointers, templates, then threads, locks, condition variables, atomics and the C++ memory model, run in a simulator that shows races and deadlocks.
The later levels turn to performance: data laid out for the cache, code that does not allocate on the hot path, and the patterns used in latency-sensitive systems such as trading engines. Interview questions and a timed practice set close the course.
Explain what you've learned in a full-screen interview. Speak or type, then review your answers against the rubric for your level.
Interview loops by jobBeginner
Functions, types, arithmetic, conditions, loops and a first whole program.
Arrays with their length, searching, strings that end in a zero byte and the string.h functions.
Addresses and out-parameters, pointer arithmetic over arrays, NULL and const.
Structs and ->, heap memory with malloc and free, growable arrays and linked lists.
Intermediate
std::string and std::vector, references, the string and vector toolkits with exceptions, overloads and defaults.
Classes with invariants, const member functions, operators, and an order book built step by step.
Algorithms and lambdas, iterators, maps, sets and hashing, optional and variant, and string_view parsing.
Destructors and RAII, unique_ptr, shared_ptr and weak_ptr, move semantics and the rule of zero, three and five.
Advanced
Function and class templates, non-type parameters, concepts, constexpr and compile-time tables.
Data races, atomic operations and memory orders, reasoned through on one thread before the next unit runs real threads.
Threads, mutexes, lock guards, deadlock, condition variables, atomics, futures, a thread-safe queue and a worker pool, run in a simulator that switches threads under 12 schedules and reports races and deadlocks.
Expert
Cache-friendly layout, no allocation on the hot path, pools and arenas, less work per message, measuring latency and fixed-point prices.
Ring buffers, a lock-free single-producer, single-consumer queue, an order book on a price ladder and a flat hash map, none of which allocate after start-up.
C and C++ interview questions from easy to hard, a concurrency set, and a 45-minute timed coding screen.
Project: a market data handler
No. Your code compiles with Clang inside your browser and runs there as WebAssembly. The first run downloads the compiler, about 22 MB, and your browser keeps it for later visits.
The first unit is free and needs no account. The rest of the course opens with a One Course or All Access plan, and the pricing page shows every plan and its price.
Tests call your functions, or feed your program input, and compare the result with the right answer. Hidden tests try other values and the edge cases. Undefined behavior such as signed overflow or a null pointer stops the program and names the line, which a normal build would not do.
Both. The course starts in C, where you see memory directly, and moves to C++ for classes, the standard library, RAII, templates and performance work. The course outline shows which units are open now and which are coming. Threads run in a simulator in the browser: one real thread switches between your threads under many schedules, so races and deadlocks show up and are reported, though there is no real parallel speed-up.
About 35 hours for the lessons built so far. A lesson takes about 15 minutes, and a practice set about 30.