- 授权协议: MIT
- 开发语言: C/C++
- 操作系统: 跨平台
- 软件首页: https://github.com/ccalvin/ccflag
- 软件文档: https://github.com/ccalvin/ccflag
软件介绍
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);
数据结构与算法分析
[美]Mark Allen Weiss / 张怀勇 / 人民邮电出版社 / 2007年 / 49.00元
《数据结构与算法分析:C++描述(第3版)》是数据结构和算法分析的经典教材,书中使用主流的程序设计语言C++作为具体的实现语言。书的内容包括表、栈、队列、树、散列表、优先队列、排序、不相交集算法、图论算法、算法分析、算法设计、摊还分析、查找树算法、k-d树和配对堆等。《数据结构与算法分析:C++描述(第3版)》适合作为计算机相关专业本科生的数据结构课程和研究生算法分析课程的教材。本科生的数据结构课......一起来看看 《数据结构与算法分析》 这本书的介绍吧!
