The well-known standard C printf() adapted to C++. Integrated into the C++ stream I/O and C++ string environment. The included StrCvt library converts strings and streams between the different C++ character types char, wchar_t, char16_t and char32_t, locale dependent and UTF.

For more information see the README files in the Wiki.

Features

  • Full support for standard printf() format specifiers and X/Open extensions
  • Integrated into the C++ output stream environment
  • Prints to streams or to C++ strings
  • Prints C++ strings, wstrings, u16strings, u32strings and UTF-8 strings
  • Full type safety of C++ combined with flexibility and ease of use of printf()
  • Contains the StrCvt library for conversion between C++ character types
  • Portable, works with GCC on Linux and Visual C++ on Windows
  • Compiles to just one function call, like the C printf()

Project Samples

Project Activity

See All Activity >

License

Public Domain

Follow xprintf

xprintf Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xprintf!

Additional Project Details

Operating Systems

BSD, Linux, Windows

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Internationalization (I18N) Software, C++ Libraries

Registered

2014-06-27