在C和C++中,exit()和之间有什么区别abort()?我试图在错误后结束我的程序(不是例外).
exit()
abort()
c c++ error-handling exit abort
abort ×1
c ×1
c++ ×1
error-handling ×1
exit ×1