Program option command line

Robert Clipsham robert at octarineparrot.com
Tue Jun 22 15:30:20 PDT 2010


On 22/06/10 23:15, bioinfornatics wrote:
> hello,
> I develop in many language such C/C++ Java etc.. and i want try with D
> in c++ for example i use boost::program_option for parse command line. I search the same thing for D language.
> thanks

If you're using D1/tango you can use tango.util.ArgParser:
http://dsource.org/projects/tango/docs/stable/tango.util.ArgParser.html

If you're using D2/Phobos you can use std.getopt:
http://www.digitalmars.com/d/2.0/phobos/std_getopt.html

Robert


More information about the Digitalmars-d-learn mailing list