r/programminghorror • • Dec 10 '18

c++ eeeeeeeeeeeeee ee eeeee

Post image
1.4k Upvotes

99 comments sorted by

View all comments

Show parent comment

23

u/ProgrammerBro Dec 10 '18

By default yes prints out a string of y followed by newlines, I think the expected use case to to pipe it to an interactive program and say "yes" to any prompts.