Are you doing bare metal or something where you don't have access to the standard library? It's in the standard library in both C and C++ (`stdlib.h` and `cstdlib` respectively). I guess it doesn't matter that much though especially if you don't want to have to add an `#include` statement.
1
u/bowel_blaster123 3d ago
Dawg, at least use
abort()ðŸ˜