Author: Stan Eisenstat
Subject: Re: [Cs223] strwrs
Date: Wednesday, 26 Feb 2020, 08:10:00
> I might not be understanding getline correctly but what should the
> indication be for strwrs to stop accepting lines?
strwrs should exit when getline() returns -1 (= EOF).
To signal the end of the input to the running program,
type a CTRL-D if the cursor is in the leftmost column,
and two CTRL-D's otherwise.
--Stan-
PREV
INDEX
NEXT