C++20 String formatting: Part-2 Width, Fill and Alignment

In the first part of the tutorial series, I provided a CMake setup for C++ fmt library that allows to work with string formatting without installing it as a root owner. I also explained the basics of formatting library and how the placeholder {} play a central role in formatting the output and the content of the string.



I'm a backend software developer and modern C++ junkie. I run a modern cpp youtube channel (https://www.youtube.com/@masteringmoderncppfeatures6302/videos)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store