>>6567981Seriously, the fuck? Is this C? If so, why are you making your OWN boolean type when stdbool.h has existed for what, two decades? Is it C++? In which case, the hell are you doing?
You also used rand without setting a seed, which is fucking illegal and a great way to get a segfault on embedded systems.
And keep in mind, rand is a terrible random number generator and, oh, you aren't going to get a uniform distribution with a modulus. That's dumb as hell.
Now let's go into the MEDICAL understanding here: cocaine don't make you happy and cocaine doesn't have a 50% god damn chance of killing you. Cocaine is a dopamine releaser, but emotions are a LOT more complex then "add dopamine, get happy", but also, it's MUCH less likely you'd die from a single or even repeated doses of cocaine than from driving a car.
Finally, the hell is with making a variable JUST TO RETURN IT?! Use a define nig!
Seriously, fuck off.
>>6568066YET SOMEHOW THIS IS EVEN WORSE OH EM GEE GET OUT OF HERE JAVA WEENIE!!!!