Re: How to simulate Window's "Press any key to continue..."

2019-11-21 Thread FireController#1847 via Digitalmars-d-learn
On Friday, 22 November 2019 at 04:19:40 UTC, mipri wrote: On Friday, 22 November 2019 at 04:10:23 UTC, FireController#1847 wrote: I'm an extreme beginner to DLang (just started using it.. oh, an hour ago?), and I already can't figure out a, what I'd consider, fairly simplistic thing. This is

How to simulate Window's "Press any key to continue..."

2019-11-21 Thread FireController#1847 via Digitalmars-d-learn
I'm an extreme beginner to DLang (just started using it.. oh, an hour ago?), and I already can't figure out a, what I'd consider, fairly simplistic thing. This is my current code: module DTestApp1; import std.stdio; int main() { write("Press any key to continue..."); stdin.read();