Why is this program erroneously rejected by three C++ compilers?

(stackoverflow.com)

24 points | by tornikeo 14 hours ago ago

4 comments

  • whobre 5 hours ago

    Just a matter of time until C++ compiles get AI included and then they will happily compile the code.

    Not that I am looking forward to that day…

  • Pinus 5 hours ago

    If you just toss the image at one of those newfangled AI thingamajigs (Copilot, Claude, whatever) and say "Compile this C++ program", does it work? Someone must have tried it by now – give us a report!

  • mindcrime 6 hours ago

    I don't care who you are, that's damn funny right there.