Thread overview
Program option command line
Jun 22, 2010
bioinfornatics
Jun 22, 2010
Robert Clipsham
Jun 22, 2010
Masahiro Nakagawa
Jun 22, 2010
bioinfornatics
June 22, 2010
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
June 22, 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
June 22, 2010
On Wed, 23 Jun 2010 07:15:37 +0900, bioinfornatics <bioinfornatics@gmail.com> 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

std.getopt?
http://www.digitalmars.com/d/2.0/phobos/std_getopt.html


Masahiro
June 22, 2010
great :-)
sorry for this sutpid question i want try one project with D and i think is hard to find the good information for D programming (yea i need buy a book too)
big thanks
June 24, 2010
On Tue, 22 Jun 2010 18:36:09 -0400, bioinfornatics <bioinfornatics@gmail.com> wrote:

> great :-)
> sorry for this sutpid question i want try one project with D and i think is hard to find the good information for D programming (yea i need buy a book too)
> big thanks

Just a heads up, TDPL (the just-released book) purposefully does not go into great details on the standard library.  The standard library is not yet finalized, even though the language is.

I don't know if there are any books that cover phobos in depth...

-Steve