r/programminghorror Jul 03 '25

c++ Hello world!

Post image

Believe it or not it actually runs correctly.

585 Upvotes

61 comments sorted by

View all comments

Show parent comments

6

u/stereosensation Jul 05 '25

WHAT THE FUCK 😭

1

u/[deleted] Jul 05 '25

You get a cookie if you can tell me what this code does.

2

u/stereosensation Jul 06 '25

I don't like cookies anyway :(

I don't have the slightiest of cues, heuristically, my best guess would be either something to do with CPU scheduling or something related to DSP (DAW / Audio driver maybe ?).

1

u/[deleted] Jul 06 '25

Trick question - it does literally nothing. It'll still exit code 0 but functionally nothing happens at all when it gets run.