readf with strings

Jimmy Cao jcao219 at gmail.com
Wed Jun 22 11:45:56 PDT 2011


On Wed, Jun 22, 2011 at 1:31 PM, Ali Çehreli <acehreli at yahoo.com> wrote:

> On Wed, 22 Jun 2011 20:17:39 +0200, Andrej Mitrovic wrote:
>
> > This library has some nice user-input methods for D2:
> > https://github.com/he-the-great/JPDLibs/tree/cmdln
>
> Thanks! :)
>
> 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
>

The design of this community site is quite splendid.  So D has three major
language sub-communities:  German, Japanese, and Turkish?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110622/dc4a4a89/attachment.html>


More information about the Digitalmars-d-learn mailing list