home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
- From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
- Subject: Re: Command Line Arguments
- Message-ID: <9225517.20432@mulga.cs.mu.OZ.AU>
- Sender: news@cs.mu.OZ.AU
- Organization: Computer Science, University of Melbourne, Australia
- References: <18intpINNif6@usenet.INS.CWRU.Edu> <1992Sep10.131630.28134@microware.com>
- Date: Fri, 11 Sep 1992 07:02:13 GMT
- Lines: 15
-
- adam@microware.com (Adam Goldberg) writes:
-
- [...]
- >void main(int argc, char **argv);
-
- As noted in many recent articles on this newsgroup, this should be
- int main(int argc, char **argv);
- ^^^
- because main() must return an int.
-
- --
- Fergus Henderson fjh@munta.cs.mu.OZ.AU
- This .signature virus is a self-referential statement that is true - but
- you will only be able to consistently believe it if you copy it to your own
- .signature file!
-