PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] HW6 standard input
Date: Monday, 27 Apr 2020, 20:26:26


    > Message Posted By: Unknown
    >
    > Should we check that lines from the standard input are only 1 word per
    > line or can we assume that this is true?

As stated in the specification

  3. To make Boggle slightly more robust (and able to use dictionaries such as
     /c/cs223/Doc/words that contain ', -, &, etc.), lines in the standard input
     that contain nonalphabetic characters are ignored and do not provoke error
     messages.

A space is a nonalphabetic character.

--Stan-
PREV INDEX NEXT