Why is this program erroneously rejected by three C++ compilers?
tornikeo
24 points
4 comments
March 14, 2026
Related Discussions
Found 5 related stories in 975.7ms across 14,015 title embeddings via pgvector HNSW
- C++: The Programming Language back cover raises questions not answered by front paulmooreparks · 54 pts · June 06, 2026 · 54% similar
- C programmers commit fresh crimes against readability jjgreen · 13 pts · July 05, 2026 · 53% similar
- C programmers commit fresh crimes against readability Bender · 126 pts · July 06, 2026 · 53% similar
- Orthodox C++ (2016) signa11 · 93 pts · June 13, 2026 · 48% similar
- C extensions, portability, and alternative compilers xngbuilds · 149 pts · May 25, 2026 · 47% similar
Discussion Highlights (3 comments)
mindcrime
I don't care who you are, that's damn funny right there.
whobre
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
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!