I think return statements and exceptions are much better alternatives, as both allow greater control on how to handle an error. Also, std::exit() doesn't unwind the stack.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think return statements and exceptions are much better alternatives, as both allow greater control on how to handle an error. Also,
std::exit()
doesn't unwind the stack.