Re: Getline delimiter

From: Rolf Magnus (
Date: 11/14/03

Date: Fri, 14 Nov 2003 01:24:55 +0100

Chris Schumacher wrote:

> Is there a way to set the delimiter to the "enter" key? I've tried the
> ASCII values for carriage return,

I guess you mean newline here.

> line feed, form feed, and even null but it doesn't work.

"doesn't work" is not a good description. Post a minimal, but complete
program that shows the behaviour you observe and describe what happens
instead of the expected.
The default delimeter for getline is newline, so it should actually work
if you don't explicitly provide one.