readln() returns new line charater

Jeroen Bollen jbinero at gmail.com
Sat Dec 28 08:49:14 PST 2013


Why is when you do readln() the newline character (\n) gets read 
too? Wouldn't it make more sense for that character to be 
stripped off?


More information about the Digitalmars-d mailing list