Neat little C++, templatized command line parser
I'm writing some toy apps that integrate with our libraries, and so I was looking for a good, Windows-compliant version of GNU Getopt. Cygwin has a version, but that ties me to the cygwin installation (I think...)
Anyway, Getopt is straight POSIX C, and googling around I found this C++ .h called TCLAP it's well documented and implemented as inlines in the
Anyway, Getopt is straight POSIX C, and googling around I found this C++ .h called TCLAP it's well documented and implemented as inlines in the
tclap/CmdLine.h
. Seems very similar to the ruby 'optparse' module in spirit and implementation.
hello my name is harold and i like to spend my time inventing my own language and pretending other ppl know what I'm talking about....
ReplyDeleteNo! I don't want to go on the cart!
Bring out yer dead
ReplyDeletelollercart
ReplyDelete