Logo

A lightweight printf replacement as a Windows DLL


yapp is a minimal, single-header-plus-source C library that wraps the standard printf family into three ergonomic functions: yapp, yappln, and yapf.
On Windows, it ships as a DLL and automatically sets the console code page to UTF-8 the moment it is loaded — no manual setup required.

Why yapp?

• Drop-in replacement for printf with an identical call signature.

• yappln saves you from typing \n on every line.

• yapf lets you target stderr, a log file, or any FILE* stream.

• UTF-8 is enabled automatically on Windows via DllMain — no SetConsoleOutputCP() calls cluttering your main().

Documentation

Official github repo