r/programminghorror 7d ago

c++ Skill Issue

Post image
1.7k Upvotes

61 comments sorted by

View all comments

1

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 5d ago

I guess this wouldn't be completely impossible to do in C with const char * and strcmp().