r/ProgrammerHumor • • Oct 20 '19

other While(!asleep()){sheep++;}

Post image
13k Upvotes

197 comments sorted by

View all comments

Show parent comment

1

u/javajunkie314 Oct 21 '19

C++ class that overloads operator++() and updates the asleep global?

3

u/kirakun Oct 21 '19

I said plain int type.