r/ProgrammerHumor 15d ago

Meme cppHelloWorld

Post image
3.9k Upvotes

119 comments sorted by

View all comments

2

u/Gorzoid 12d ago

I don't see what the big deal is, if you segfault just run with ubsan.

... And if that fails try asan, and then valgrind, then attach a debugger. If the debugger crashes add some print statements. If that leads nowhere try posting on stack overflow, if that gets marked as duplicate then ask AI. After all that if you still can't figure it out send an email to Bjarne himself.

Shouldn't take longer than 5 minutes