Something like system(PAUSE) like in C++ under windows?

Xinok xnknet at gmail.com
Thu May 24 08:33:33 PDT 2007


D also has it's own function, if you don't want to use the C function:

import std.process;

void main(){
	system("pause");
}

Chris Nicholson-Sauls wrote:
> Charma wrote:
>> check out the subject...
>>
>> Thanks to all responses!
>>
>> Charma
> 
> import std.c.process;
> 
> void main () {
>   system("pause".ptr);
> }
> 
> -- Chris Nicholson-Sauls



More information about the Digitalmars-d mailing list