www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - How to convert std.stream.stdin(deprecated) code?

reply Jerry <Jerry_member pathlink.com> writes:
Hi, 
I noticed that a lot of example codes on various websites use std.stream.stdin,
and the dmd compiler won't compile them because "std.stream.stdin is
deprecated". Can someone show me how to convert std.stream.stdin into compilable
code? 

thanks in advance, 

Jerry
Aug 14 2005
parent "Ben Hinkle" <ben.hinkle gmail.com> writes:
"Jerry" <Jerry_member pathlink.com> wrote in message 
news:ddpc1j$7gb$1 digitaldaemon.com...
 Hi,
 I noticed that a lot of example codes on various websites use 
 std.stream.stdin,
 and the dmd compiler won't compile them because "std.stream.stdin is
 deprecated". Can someone show me how to convert std.stream.stdin into 
 compilable
 code?

 thanks in advance,

 Jerry

import std.cstream; ... std.cstream.din
Aug 15 2005