On CppCon 2022 was announced, that new official HelloWorld in C++ is now:
#include <print>int main() { std::print("Hello world\n"); return 0;}
Do you know, is std::print
available in GCC ? Maybe it needs some flag or additional library to activate?
Link to description https://en.cppreference.com/w/cpp/io/print