Modern c++23 has a lot of build in functionality.

#include <print>

int main()
{
    std::println("Hello, World!");
    return 0;
}

I’m playing around with the current revision of C++ and for now like the improvements with std::print.