home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / c / 13503 < prev    next >
Encoding:
Text File  |  1992-09-10  |  907 b   |  27 lines

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