Warp wrote:
>> If you DO want to read a whole line, look up the getline function. That
>> will also take in an "empty" line.
>
> The problem with getline() is precisely that it reads an entire line.
> If there are several whitespace-separated things in that line, it will
> still read the entire line.
Which is not a problem if that's what you want to do.
I use getline to simulate a pause, where the user has to press Enter to
continue (there's another function for just reading a character - I
forget what it was).
--
Copywight 1991 Elmer Fudd. All wights wesewved
/\ /\ /\ /
/ \/ \ u e e n / \/ a w a z
>>>>>>mue### [at] nawazorg<<<<<<
anl
Post a reply to this message
|