Possible bug in std.path?
Hugo via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 20 20:31:22 PDT 2016
On Monday, 20 June 2016 at 12:55:21 UTC, ag0aep6g wrote:
> On Monday, 20 June 2016 at 12:38:23 UTC, Hugo wrote:
>> Not necessarily, cmd.exe is made in C/C++
>> AFAIK, most other console applications for Windows behave the
>> same way too.
>
> As seen on MSDN, it's how "Microsoft C/C++ startup code" does
> it. It's what you get in a C main's argv. Populating a D main's
> args in a different way would be unusual.
>
> Of course you can parse the command line yourself, and do it
> differently then. You can do this in C, in C++, and in D too.
> But the default is the other way, in all of them.
I guess all the console programs I have used for MS products
(since MS-DOS) have been unusual then according to MSDN. ;)
More information about the Digitalmars-d
mailing list