C++命令行参数解析,Arg_parser 1.6 发布

fmms 12年前
     Arg_parser 1.6 主要是修复了一些小bug。    <br />    <br />    <a href="/misc/goto?guid=4958323486443733953" target="_blank">Arg_parser </a>是一个用来处理命令行参数的C++类,同时也提供C语言的版本。    <br />    <br /> Arg_parser is an argument parser that follows POSIX and GNU conventions for command line arguments. There exist C++ and C versions of Arg_parser. The C++ version is implemented as a C++ class, while the C version is implemented as a single struct plus associated functions. Both are simpler, easier to use, and safer that 'getopt_long'.