Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
June 22, 2010 Program option command line | ||||
---|---|---|---|---|
| ||||
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 Re: Program option command line | ||||
---|---|---|---|---|
| ||||
Posted in reply to bioinfornatics | 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 Re: Program option command line | ||||
---|---|---|---|---|
| ||||
Posted in reply to bioinfornatics | 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 Re: Program option command line | ||||
---|---|---|---|---|
| ||||
Posted in reply to Masahiro Nakagawa | 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 Re: Program option command line | ||||
---|---|---|---|---|
| ||||
Posted in reply to bioinfornatics | 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
|
Copyright © 1999-2021 by the D Language Foundation