Assignment 5 questions.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
Wed, 17 Jan 2001 19:01:09 -0500 (EST)


  What is the definition for correct input?

It's given in the Input Section of the assignment page.
 
  Is five integers correct input for a rectangle?

No, but notice that "1 2 x 3 4 5 6 -> 7 8" is correct input

  How about five alphabet characters?

Alphabetic characters? No.

  How about six integers or six alphabet characters?

No.

  etc.

No.

  Sliding input should have a "->".

Yes.

  Other signs like "#" or ">" are incorrect input?

Yes.

  Are you going to supply an input file for the assignment?

No; you're on your own.

  Our programs are required to read input from std-in. Do you mean the input
  file name is still read from command line?

No; your program reads from std-in. If you poke around a bit, you'll see that
a command of the form "a.out < file" does not have any command-line arguments.



This archive was generated by hypermail 2.0b3 on Thu May 17 2001 - 12:00:05 EDT