次の方法で共有


Program Termination

In C++, there are several ways to exit a program:

  • Call the exit function.

  • Call the abort function.

  • Execute a return statement from main.

See Also

Reference

main: Program Startup