命令行参数解析工具 ccflag

码农软件 · 软件分类 · 其他开发相关 · 2019-10-20 15:58:17

软件介绍

ccflag 是比 Google GFlags 更简单易用的 C++ 命令行参数解析工具,代码简洁,仅一个.h文件与一个.cc文件,比 gflags 更方便。

// parse command line flags from <argc, argv>.  
// non-flag elements will be put into the vector, if v != NULL.  
void init_ccflag(int argc, char** argv, std::vector<std::string>* v = NULL);

// parse command line flags from a string.  
// non-flag elements will be put into the vector, if v != NULL.  
// <usage>  init_ccflag("-i=23 -s=\"hello world\" -t=hello_world");  
void init_ccflag(const std::string& args, std::vector<std::string>* v = NULL);

// parse command line flags from <argc, argv> first, and then from config file.  
void init_ccflag(int argc, char** argv, const std::string& config);


本文地址:https://codercto.com/soft/d/17180.html

埃隆·马斯克传

埃隆·马斯克传

陆西 / 重庆出版社 / 2014-7 / 38.00元

埃隆·马斯克(Elon Musk)1971年出生于南非,毕业于美国宾夕法尼亚大学,工程师、企业家、亿万富翁。最成功的全球网上支付平台Paypal创始人之一,现任美国商业航天企业空间探索技术公司(SpaceX)CEO,电动车生产企业特斯拉汽车(Tesla Motors)CEO,光伏发电服务供应企业SolarCity董事长。如今他被视为经济危机后美国创新与科技实力的新象征。 今天PayPal依然......一起来看看 《埃隆·马斯克传》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换