On Wed, Jun 22, 2011 at 1:31 PM, Ali Çehreli <acehreli@yahoo.com> wrote:
On Wed, 22 Jun 2011 20:17:39 +0200, Andrej Mitrovic wrote:Thanks! :)
> This library has some nice user-input methods for D2:
> https://github.com/he-the-great/JPDLibs/tree/cmdln
The Turkish D community has experimented with a similar solution:
http://ddili.org/forum/post/2960
"oku" means "read":
// Read into an existing variable
double d;
oku("Please enter a double: ", &d);
// Read and return a value
int i = oku!int("Please enter an int: ");
Ali