sprintfenumclass

July 4, 2024 ยท View on GitHub

Shows how to use xtd::ustring::sprintf method.

Sources

src/sprintf_enum_class.cpp

CMakeLists.txt

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output (with colors)

saturday
0b101
0b101
5
5
saturday
saturday
05
05
0x5
0x5

Contents

  1. 1Sources
  2. 2Build and run