program arguments in module constructor?

Johan Granberg lijat.meREM at OVEgmail.com
Fri May 19 12:38:49 PDT 2006


Georg Wrede wrote:
> And then there's the compatibility problem of different command line 
> handling by the operating system.
> 
> In MSDOS "myprog foo.*" gives the program a single argument containing 
> "foo.*".
> 
> In Linux, "myprog foo.*" gives the program either a command line with 
> all the file names matching foo.*, or if there are none, the string 
> foo.* itself.

Does not matter for all uses, in my case I needed it to "FIX" an ugly 
main hack (SDLmain) in SDL for use in a library of mine.



More information about the Digitalmars-d mailing list