C++命令行參數解析,Arg_parser 1.6 發布

fmms 12年前發布 | 16K 次閱讀 C/C++

Arg_parser 1.6 主要是修復了一些小bug。

Arg_parser 是一個用來處理命令行參數的C++類,同時也提供C語言的版本。

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'.

 本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!