pacman/exercises/12/hello_fmt/README.md

17 lines
498 B
Markdown
Raw Permalink Normal View History

2021-10-06 12:44:01 +00:00
[< Back](../README.md)
2021-10-05 14:26:28 +00:00
# Exercise: Hello {fmt} on Godbolt
## Background: {fmt}
2021-10-06 07:39:10 +00:00
"{fmt} is an open-source formatting library providing a fast and safe alternative to C stdio and C++ iostreams."
[From the {fmt} GitHub page](https://github.com/fmtlib/fmt)
In C++20 we are getting parts of this functionality in [std::format](https://en.cppreference.com/w/cpp/utility/format).
In C++23 we might get `std::print`.
2021-10-05 14:26:28 +00:00
## Exercise
1. Play with Hello World on [Godbolt](https://godbolt.org/z/8oxsGG8WM)