VisualD Console WIndow Disappears
Matthias Pleh
user at example.net
Wed Feb 15 00:29:36 PST 2012
On 15.02.2012 08:27, RedShift wrote:
> So, I'm just starting to get into D, using the extension for VS called
> Visual D. Is there any way to stop the console from disappearing like in
> C++? Like C + F5 (which doesn't seem to work). Or like a getline?
This sort of question is better fittet in d.D.learn newsgroup,
but anyway, I think this helps:
import std.stdio;
import std.c.stdlib; // import for system
int main(string[] argv)
{
writeln("Hello D-World!");
system("PAUSE");
return 0;
}
^^Matthias
More information about the Digitalmars-d
mailing list