Discussion:
what defines the end of input for the file name
(too old to reply)
bob
2005-04-28 00:44:48 UTC
Permalink
when the file name gets inputed is that from the consol and if so is the
return character defining the end of the file name tks
Jeff Ford
2005-04-28 02:33:25 UTC
Permalink
Post by bob
when the file name gets inputed is that from the consol and if so is the
return character defining the end of the file name tks
You may assume a file name will not contain whitespace and will be on a
line by itself. Thus either the input operator or getline() may
be used to read it.

Jeff
--
Jeff Ford http://www.cs.utexas.edu/users/jeffford/
Loading...