Linux.com

Newsvac

Use gperf for efficient C/C++ command line processing

July 30, 2007 (4:00:00 PM) -  11 months, 1 week ago

Share    Print    Comments   

Anonymous Reader writes "Command-line processing is historically one of the most ignored areas in software development. Just about any relatively complicated software has dozens of available command-line options. The GNU tool gperf is a "perfect" hash function that, for a given set of user-provided strings, generates C/C++ code for a hash table, a hash function, and a lookup function. This article provides a reference for a good discussion on how to use gperf for effective command-line processing in your C/C++ code."
Read more at: ibm.com/developerworks

Share    Print    Comments   



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya