R. Clayton (rclayton@monmouth.edu)
(no date)
According to the assignment, s, h, and w must all be non-negative. Should d
be non-negative too?
The move instruction "rmove d s h w" moves the rectangle (s, h, w) to the
rectangle (d, h, w). All three components of the rectangle triple (s, h, w)
are unsigned integers. It follows that d is an unsigned integer in the
rectangle triple (d, h, w), and that d is an unsigned integer in the rmove
instruction.
If there is correct input after incorrect input, should the program terminate
or should it give an error message and continue to process the remaining input?
Your program should stop at the first error. The assignment has been changed
to clarify this point:
Any other input line should cause your program to write an informative
error message to std-err and immediately terminate execution with no
further processing.
This archive was generated by hypermail 2.0b3 on Fri May 09 2003 - 15:30:05 EDT