On Thursday, 10 October 2013 at 18:56:58 UTC, Alejandro wrote:
Hi

I'm new in D, have some experience in JavaScript and PHP, and learned, for long time ago, C and a bit little C++

I remember that when I learned C with console output, it was two easy ways to catch input : one witch a required <Enter> keydown, and an other witch catched a single character, a single keydown. I liked very much this last function (I think it was get()), very useful when making small programs for learning purposes.

I'm looking for something like that in D, widthout finding it. I'm sorry coming here width my bad English asking a question like that, I see everyone here has a hight level in coding D, but since there is no much documentation around Internet, I don't find another solution.

I think what you want is as simple as following.

import std.process;

void main()
{
    //try and learn here

    system("pause");
}

Reply via email to