On Thursday, 14 April 2016 at 10:50:00 UTC, ag0aep6g wrote:
Invoked like that, dmd doesn't run the program at all. It just makes an .exe file of it. To run the program simply type its name into the command prompt. So if your source file is foo.d, `dmd foo.d -main -unittest` creates foo.exe, and you run it with `foo`.
I'm haven't got access to my Windows PC at the moment, but that sounds like it will solve my problem. Thank you!