main 函数的返回值一般用来指示状态

 linux 查看返回状态 命令   echo $?

windows 查看   echo %ERRORLEVEL%;

原文地址:https://www.cnblogs.com/ruiy/p/14136814.html