www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Program option command line

reply bioinfornatics <bioinfornatics gmail.com> writes:
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
Jun 22 2010
next sibling parent Robert Clipsham <robert octarineparrot.com> writes:
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
Jun 22 2010
prev sibling parent reply "Masahiro Nakagawa" <repeatedly gmail.com> writes:
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
Jun 22 2010
parent reply bioinfornatics <bioinfornatics gmail.com> writes:
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
Jun 22 2010
parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
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
Jun 24 2010