+ 1
How to use exit function like exit [0] etc.
Reply guys if you understand my question
1 Answer
+ 3
Use cstdlib to use `exit` function.
#include <cstdlib>
https://en.cppreference.com/w/cpp/utility/program/exit
you can call it by passing exit code like:
exit(0);