Index:
[thread]
[date]
[subject]
[author]
From: Jason Grosland <jcg3@cs.duke.edu>
To :
Date: Tue, 2 Mar 1999 01:40:51 -0500
Re: a little help
On Sun, 28 Feb 1999, Luke wrote:
> here- this sorta helps things. i'm still not clear on where this
> mystery GetOpt.h is or if we are supposed to use it or what.....
GetOpt is a nice little package that makes parsing command line options
much easier than writing all the code to do it yourself. If you're trying
to find the actual code, you might notice the following text at the
bottom of the page you gave the URL for (which is now linked to off the
course page in the help section):
See both the getopt(3C) man page (type "man -s3c getopt" on Solaris
machines) and the GetOpt header file for more information. On acpub
Solaris machines, GetOpt.h is in
/usr/pkg/gcc/sun4m_53/lib/g++-include/GetOpt.h; on CS Solaris machines,
see /usr/local/lib/g++-include/GetOpt.h.
If you want to see an example of it in use, check out the following file
from wmf (web-mail-folder is the neat little program that I create the
news archive with): http://www.cs.duke.edu/~jcg3/wmf.c, check out the
main function.
-Jason
CPS 108 UTA
Index:
[thread]
[date]
[subject]
[author]