www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Replacement for din.readf

reply =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
I've been using din.readf to read from the standard input. Now that 
streams are being retired (some or all?), what is the best replacement?

Thank you,
Ali
Jun 16 2010
parent torhu <no spam.invalid> writes:
On 16.06.2010 23:23, Ali Çehreli wrote:
 I've been using din.readf to read from the standard input. Now that
 streams are being retired (some or all?), what is the best replacement?

 Thank you,
 Ali
Try readln, lines, or rawRead from std.stdio.
Jun 16 2010