home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!csus.edu!netcom.com!jimlynch
- From: jimlynch@netcom.com (Jim Lynch)
- Subject: Re: argc and argv in Think C
- Message-ID: <1993Jan3.114910.20977@netcom.com>
- Keywords: Think vs. ANSI C
- Organization: Netcom Online Communications Services (408-241-9760 login: guest)
- References: <1i527bINNk39@gap.caltech.edu>
- Distribution: NA
- Date: Sun, 3 Jan 1993 11:49:10 GMT
- Lines: 11
-
- Just use it.
-
- The way you define main() is:
-
- void main(int argc, char *argv[])
- {
- ...
- }
-
- The one difference I found is that the name of the program does not show up
- in argv[0].
-