|
Go4Expert Founder
|
![]() |
| 20Mar2010,10:02 | #11 |
|
exit the program with the return code as 1
|
|
Pro contributor
|
![]() |
| 21Mar2010,21:44 | #12 |
|
http://www.cplusplus.com/reference/c.../cstdlib/exit/
when you finish main() you use return 0; ---->(exit(0) finished without errors) exit(1) --->reurns 1 which means the program terminated with error. |

