2011年11月6日星期日

试一下gflags

Google是个好同志,release了很多open source project,很多都是很好用而且有用的~~~

今天试了一下google-gflags,很有用,以后在windows下可以用它了,以前没有getopt只能使用XGetOpt(也很好用,但不够强大,哈哈)

The gflags package contains a library that implements commandline flags processing. As such it's a replacement for getopt(). It has increased flexibility, including built-in support for C++ types like string, and the ability to define flags in the source file in which they're used.

 

 

参考文档:

How To Use Google Commandline Flags (gflags)

没有评论:

发表评论

Test Ads
Hello World