A tiny helper to print formatted output just like printf, designed for small C projects, examples, and personal libraries.
- Ultra-minimal: No dependencies, just drop-in and use.
- Familiar API: Use it like standard
printf. - Quick integration: Perfect for command-line tools, educational code, or embedded utilities.
- Readable & hackable: Easy to adapt for your needs.
-
Basic:
print("Welcome to PRINT v1.0!\n");
-
Multiple values:
print("User %s has %d messages\n", "alice", 5);
-
Edge cases:
Test NULL strings, long formats, and numeric boundaries in your examples.
Inspired by C’s printf.
Created as a lightweight alternative for quick prototyping and learning.