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
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
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