Author: Stan Eisenstat
Subject: Re: [Cs223] return value in event of error
Date: Thursday, 13 Feb 2020, 20:00:28
> Message Posted By: Unknown
>
> What value should main return in the event of an error? Should we stick to
> 1 for all errors? Does it matter?
Your choice.
It does not matter for this assignment. However, in
general it is standard to return 0 if the program
ran successfully and some nonzero value otherwise.
--Stan-
PREV
INDEX
NEXT