Posted by Daniel Longest on April 17, 2001 at 15:57:57:
In Reply to: Re: creature name format posted by Leon Gunden on April 17, 2001 at 09:10:07:
To answer your question, the majority of the programming assignemnts have been set up for you to assume pretty much nothing. So you could take a chance and use the extraction operator, but why take the chance? getline functions perfrectly and whitespace will have 0 effect.
: : How difficult is it to use getline?
: : Daniel
: : : Just wondering if we could get some sort of guarantee that the creature names won't have whitespace in them (so that we can use the extraction operater to parse instead of getline).
: Not very, but I don't see what that has to do with the question I asked (a simple yes or no please...)
Post a Followup