fmt/test/hello_fmt.cc
2018-12-08 10:24:20 -05:00

11 lines
174 B
C++

#include <fmt/core.h>
int main()
{
fmt::print("Hello, {}!", "world"); // uses Python-like format string syntax
fmt::print("The answer is {}\n", 42);
return 0;
}