PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] input question
Date: Sunday, 16 Feb 2020, 08:05:00


    > Does the input have to be all letters and no spaces like the given
    > examples? (Aside from + - /)

No.  As stated in the specification

  Since the Fi and Ti fields and the input lines returned by getline() are
  strings, they cannot contain null characters.  For simplicity strwrs may
  also assume that there are no newlines in the Fi and Ti fields (and need not
  fail gracefully if they are present).  However, you may NOT assume that the
  other 254 possible character values are not present.

--Stan-
PREV INDEX NEXT