how can D program find it's own executable name on windows ?

n00b n00b at nospam.com
Tue Jan 29 07:49:02 PST 2013


Le 29/01/2013 10:33, rsk82 a écrit :
> Are there any build in function or must I resort to winapi ?

int main(string[] argv)
{
	writeln(argv[0] ~ " is what you are looking for");
}

^^


More information about the Digitalmars-d-learn mailing list