www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - input

reply naama <naama767 walla.com> writes:
How am I get a integer nimber from the user? (readln()?)

the command line is:
???
Jan 30 2009
parent Michael P. <baseball.mjp gmail.com> writes:
naama Wrote:

 How am I get a integer nimber from the user? (readln()?)
 
 the command line is:
 ???
import std.cstream; int number; din.readf( "%d", &number );
Jan 30 2009