
Read and Write Files with CreateFile and ReadFile
Open, create, read, write, append and seek files with CreateFileW, ReadFile and WriteFile, with share modes, dispositions and error codes explained.
Everything you need to level up your coding skills.

Open, create, read, write, append and seek files with CreateFileW, ReadFile and WriteFile, with share modes, dispositions and error codes explained.

Understand what a USB device tells the host when plugged in: device, configuration, interface and endpoint descriptors and the enumeration steps.

Build a tiny kernel filesystem that exposes one read-only file, using simple_fill_super, get_tree_nodev and simple_read_from_buffer from libfs on Linux 6.12.

Write a mode 0 SPI slave in Verilog that samples SCK, CS and MOSI with the FPGA clock, shifts bytes in and out and is tested with a simulated SPI master.

Build a complete CHIP-8 interpreter in C11: memory, registers, the font, all 35 opcodes, timers, a 64x32 display buffer and a text-mode renderer to test it.

Set up cargo-fuzz 0.13 on a Rust nightly toolchain, fuzz a parser that uses unsafe code, read the crash report and replay, minimize and keep the failing input.

Learn the IEEE 754 layout of float and double, with the sign bit, biased exponent and fraction, decode real values by hand and check them with a C program.

Use FFmpeg 7.1 with h264_videotoolbox and hevc_videotoolbox on Apple silicon: quality and bitrate options, the hvc1 tag for QuickTime, and hardware decoding.

Read raw frames with an AF_PACKET socket and parse Ethernet, IPv4 and TCP headers in C using the Linux header structs, with length checks at every layer.

Build and run OpenMP C programs with GCC 14 and Clang 19 on Linux, set the thread count, check that the pragma took effect, and fix the common link errors.

Install Clang on Linux, macOS or Windows, point Make, CMake or Meson at it, and fix the handful of warnings and flags that differ from GCC.

Point GDB at a debuginfod server with DEBUGINFOD_URLS and it downloads matching debug symbols and source for any shared library on demand, keyed by build ID.
We send one email when a new post is published. No spam.