![]() |
Library functions for handling command line arguments or options
Are there some standard library functions for handling command line
arguments or options? Thank you. |
Re: Library functions for handling command line arguments or options
lovecreatesbea...@gmail.com wrote:
> Are there some standard library functions for handling command line > arguments or options? Thank you. strtok is one, but it is generally avoided in C++. Look into Boost's Tokenizer (http://boost.org/libs/tokenizer/index.html) or program options library (http://boost.org/doc/html/program_options.html). Cheers! --M |
Re: Library functions for handling command line arguments or options
On 2007-01-11 17:42, lovecreatesbea...@gmail.com wrote:
> Are there some standard library functions for handling command line > arguments or options? Thank you. > If you are on a POSIX-compatible platform you might be interested in getopt*, used on many unix/linuxes. * http://www.opengroup.org/onlinepubs/...ns/getopt.html) -- Erik Wikström |
Re: Library functions for handling command line arguments or options
On 11 Jan 2007 08:42:44 -0800, lovecreatesbeauty wrote:
>Are there some standard library functions for handling command line >arguments or options? Thank you. Not Standard but this looks nice: http://www.codeproject.com/useritems/SimpleOpt.asp Good luck, Roland Pibinger |
| All times are GMT. The time now is 09:59 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.