sprintfwithalignment
July 4, 2024 ยท View on GitHub
Shows how to use xtd::ustring::sprintf method.
Sources
src/sprintf_with_alignment.cpp
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)
[ 42]
[42 ]
[0000000042]