Hacker News new | ask | show | jobs
by pjmlp 761 days ago
Not any longer, this is the modern C++ hello word.

    import std;

    int main()
    {
        std::println("hello, world");
    }
Although your point stands, that is also valid C++.
1 comments

He is LITERALLY referring to the the example on the page in question.
And I am literally showing that the example is outdated in C++23.