Step Into Labs

Step Into C

Learn C interactively, from your first printf to the Win32 API

An interactive C course in your browser: 33 hands-on lessons from zero to pointers, the heap, binary layouts, a real debugger, the Win32 API, ntdll and the PEB. Every mission is checked by running your code.

Try a free lesson Pricing

What you will learn

Prerequisites: None. The course starts from zero. Price: $149 on its own, or $199 together with the assembly and Rust courses.

Syllabus

0x01

Foundations

Your first programs, how C stores values, and how to compute with them.

  1. Hello, CHow a C program is built, and your very first lines of output. · 4 missions · 15 min
  2. Variables & TypesNamed boxes of memory, the built-in types, and printing values with format specifiers. · 5 missions · 25 min
  3. Operators & ExpressionsArithmetic, integer division, casts, overflow and increment operators. · 4 missions · 25 min
0x02

Control Flow

Make decisions, repeat work, and split programs into functions.

  1. Making DecisionsReading input, if / else, truthiness, switch and the ternary operator. · 4 missions · 25 min
  2. Loopsfor, while, do-while, nesting, break and continue. · 4 missions · 25 min
  3. FunctionsDefinitions, prototypes, pass-by-value, recursion and static locals. · 4 missions · 30 min
0x03

Arrays & Strings

Sequences of values and the null-terminated string.

  1. ArraysContiguous blocks of values, indexing, sizeof tricks and 2-D arrays. · 4 missions · 25 min
  2. StringsNull-terminated char arrays, string.h, safe input with fgets. · 4 missions · 30 min
0x04

Memory

Addresses, pointers, pointer arithmetic and the heap — the heart of C.

  1. PointersAddresses, &, *, NULL, out-parameters and pointers to pointers. · 4 missions · 35 min
  2. Pointer ArithmeticArrays as pointers, stepping through memory, byte views and void *. · 4 missions · 30 min
  3. Dynamic MemoryStack vs heap, malloc / calloc / realloc / free, memcpy and memset. · 4 missions · 35 min
0x05

Modeling Data

Structs, typedefs, enums, unions, bit manipulation and function pointers.

  1. StructsGrouping data, . and ->, padding and alignment, arrays of structs. · 4 missions · 30 min
  2. typedef, enum & unionNaming types the Windows way, enumerations, unions and type punning. · 4 missions · 30 min
  3. Bits & BytesBinary and hex, bitwise operators, masks, flags, shifts and alignment. · 4 missions · 35 min
  4. Function PointersFunctions as values, typedefs, callbacks, qsort and dispatch tables. · 4 missions · 30 min
0x06

Debugging

A real debugger: breakpoints, stepping, variables, the call stack and crashes.

  1. DebuggingfreeBreakpoints, stepping, variables, the call stack and crashes, with a real debugger. · 5 missions · 40 min
0x07

Systems C

The preprocessor, binary layouts, command-line tools and files.

  1. The PreprocessorMacros, conditional compilation, include guards and multi-file projects. · 4 missions · 30 min
  2. Binary Data & LayoutsExact-width integers, packed structs, offsetof and parsing byte buffers. · 4 missions · 35 min
  3. Command-Line Argumentsargc and argv, usage messages, stderr, exit codes and safe number parsing. · 4 missions · 30 min
  4. Files & I/OFILE *, fopen modes, error handling, reading lines, parsing, and binary files. · 5 missions · 40 min
0x08

Windows C

Read Windows-style C fluently: types, UTF-16 strings, error conventions, then the real Win32 API.

  1. Reading Windows-Style CWindows types, Hungarian notation, SAL annotations, the two-call pattern and cbSize. · 4 missions · 40 min
  2. Strings & Unicodewin32char vs wchar_t, A vs W functions, UTF-8 and UTF-16, and the type names you will see everywhere. · 4 missions · 35 min
  3. Errors & Handleswin32GetLastError and FormatMessage, the two "invalid handle" values, HRESULT, and handle lifetimes. · 4 missions · 35 min
  4. The Real Windows APIwin32windows.h, GetLastError, file handles, virtual memory, GetProcAddress and your own PE headers. · 5 missions · 50 min
0x09

Win32 in Depth

Files, memory, processes, threads, DLLs and the registry, the API surface every Windows program uses.

  1. Files & Directorieswin32CreateFileW dispositions, sizes and seeking, listing directories, moving and deleting. · 4 missions · 40 min
  2. Memory: Pages, Protections and Heapswin32VirtualAlloc reserve vs commit, VirtualProtect and VirtualQuery, private heaps, and when to use which. · 4 missions · 40 min
  3. Processeswin32Process ids vs handles, CreateProcessW, waiting and exit codes, STILL_ACTIVE, and capturing a child's output. · 4 missions · 45 min
  4. Threads & Synchronizationwin32CreateThread, waiting and exit codes, data races, Interlocked operations, critical sections and events. · 5 missions · 45 min
  5. DLLs & Dynamic Loadingwin32Imports vs LoadLibrary, GetProcAddress and typed function pointers, missing exports, and reference counts. · 4 missions · 35 min
  6. The Registrywin32Hives, keys and value types, RegGetValueW, enumerating values, and LSTATUS error codes. · 4 missions · 30 min
0x10

Inside Windows

One layer down: ntdll and the Native API, NTSTATUS, what a system call is, the PEB and the loader.

  1. ntdll & the Native APIwin32How a Win32 call reaches the kernel: kernel32, ntdll, NTSTATUS, and what a system call is. · 4 missions · 40 min
  2. The PEB & the Loaderfreewin32The process environment block, its fields, your command line, and the loader's list of modules. · 4 missions · 40 min
0x11

Capstone

Linked lists the classic way and the Windows way.

  1. Final Project: Linked ListsSelf-referential structs, heap nodes, removal, cleanup, and Windows-style LIST_ENTRY lists. · 5 missions · 45 min
01 · read

Understand the machine

Short lessons with memory diagrams: what the CPU and memory are doing, not just syntax.

02 · write

Write real code

A full editor in the browser. Your C is built by a real toolchain and actually runs.

03 · verify

The watchdog checks it

Your program is run against test inputs. Pass, and the next mission unlocks. Fail, and you see exactly why.

Questions

Do I need to install a compiler or debugger?

No. Everything runs in the browser: a Monaco code editor, and your code is built by real toolchains (gcc / MinGW-w64, the GNU assembler, rustc) on a sandboxed server. The Windows lessons call the real Win32 API on real Windows. There is also a built-in debugger (GDB underneath) that records your program so you can step forwards and backwards, and a disassembler with a control-flow graph.

Do I need programming experience?

No. Step Into C starts from zero and assumes nothing. The assembly and Rust courses build on it.

Is it good preparation for reverse engineering, malware analysis or exploit development?

Yes, as a foundation. It teaches what those fields assume you already know: memory and pointers, how C becomes x64 assembly, the Win64 calling convention and stack frames, reading compiler output, binary layouts and the PE format, the Win32 API, ntdll, the Native API, the PEB and the loader. It is not a malware or exploitation course itself.

Which assembly syntax and platform?

x86-64 (x64) assembly in Intel syntax with the GNU assembler, using the Windows x64 calling convention, so you can call C and Win32 functions from assembly.

Is it Windows-only?

The C fundamentals, assembly basics and Rust fundamentals are portable. The systems modules target Windows: the Win32 API, Windows internals and calling Win32 from assembly and Rust. You only need a browser on any operating system.

How much does it cost?

Two complete lessons are free with no sign-up. Step Into C is $149, and the complete bundle with all three courses (C, x64 assembly and Rust) is $199, one-time. Step Into Labs is currently in closed beta.

Start Step Into C

Try a complete lesson free, no sign-up needed.