🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3753

Re: methods for parsing commandline switches or arguments

#3753
From: David Thompson
Date: Mon, 15 Apr 2002 04:01
13 lines
1622 bytes
"gnuist" <gnuist007@hotmail.com> wrote
[snip]
> I have to parse this command line via *argv[] and argc.
> Please show how to approach it.
[snip]

Check out this library,

  http://256.com/sources/argv/argv.html

--
David Thompson
dat1965@yahoo.com
Technical Details
Message-ID: <Ugsu8.25624$G72.19710@sccrnsc01>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!wn2feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc01.POSTED!not-for-mail
References: <9e8ebeb2.0204131900.67ea8c47@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109f73,66fe05f085d006dd
X-Google-Attributes: gid109f73,public
X-Google-Thread: fc89c,66fe05f085d006dd
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 109fba,66fe05f085d006dd
X-Google-Attributes: gid109fba,public
X-Google-Thread: 1014db,66fe05f085d006dd
X-Google-Attributes: gid1014db,public
X-Google-ArrivalTime: 2002-04-14 21:01:57 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!wn2feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc01.POSTED!not-for-mail
From: "David Thompson" <dat1965@yahoo.com>
Newsgroups: comp.unix.programmer,comp.lang.c,comp.lang.c++,gnu.utils.help
References: <9e8ebeb2.0204131900.67ea8c47@posting.google.com>
Subject: Re: methods for parsing commandline switches or arguments
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Message-ID: <Ugsu8.25624$G72.19710@sccrnsc01>
NNTP-Posting-Host: 12.236.17.69
X-Complaints-To: abuse@attbi.com
X-Trace: sccrnsc01 1018843316 12.236.17.69 (Mon, 15 Apr 2002 04:01:56 GMT)
NNTP-Posting-Date: Mon, 15 Apr 2002 04:01:56 GMT
Organization: AT&T Broadband
Date: Mon, 15 Apr 2002 04:01:57 GMT