5

They're getting print in c++
Meanwhile c has it since, -11 before the Christ.

Comments
  • 1
    "But Krusty, why now? Why not 40 years ago?"
  • 2
    i mean for real, who even std::cout << "does it like this." << std::endl.
  • 3
    To be fair, if it exists in c, it also exists in c++. There was probably no rush to implement something that's already available.
  • 1
    Interesting, I didn’t know it was forbidden to use C's print in C++.
  • 0
    @Lensflare it's not. It's just why reimplements it. And why cout
  • 0
    @3dgoosee it was sarcasm ^^

    My guess is that C++ wanted to implement string interpolation, which was the new hot shit at that time. But ended up with a kind of a hybrid between concatenation and interpolation.

    I bet chatgpt could tell you more :)
Add Comment