Author: Stan Eisenstat
Subject: Re: [Cs223] Error handling
Date: Tuesday, 14 Apr 2020, 08:05:02
> Message Posted By: Unknown > > What is the difference between printf(...) followed by exit(), and > fprintf(stderr, ...)? The first writes to the standard output and exits; the second writes to the standard error (and exits?). ===== > Must we do the latter? As stated in the specification, Nine20 2. Nine20 verifies that the command-line arguments are valid, e.g., ... and write a one-line error message to stderr and immediately exit otherwise. --Stan-PREV INDEX NEXT