gflags使用demo
gflags是来自google的一个C++命令行参数解析库,使用起来比getopt简单太多。// link arguments: -lgflags
#include <gflags/gflags.h>
#include <iostream>using namespace std;DEFINE_string(bind_ip, "localhost", "set bind ip");
DEFINE_in
原创
2017-07-20 17:55:47 ·
774 阅读 ·
0 评论