Win32 Programming Tutorial: Hello, Void — The Minimal Console Program

Understanding the Console Subsystem, Entry Points Without the CRT, and Your First Compile-and-Link from Scratch