home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / c / 20152 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.6 KB

  1. Path: sparky!uunet!wupost!darwin.sura.net!newsserver.jvnc.net!yale.edu!ira.uka.de!math.fu-berlin.de!uni-paderborn.de!urmel.informatik.rwth-aachen.de!Germany.EU.net!mcsun!sunic!seunet!augs!rabbit!staff
  2. From: staff@rabbit.augs.se (Staffan Friberg)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: should main be prototyped?
  5. Distribution: world
  6. Message-ID: <staff.02sj@rabbit.augs.se>
  7. References:  <619@ddbeezer.Dundee.NCR.COM> <1993Jan17.000840.20657@csservices.Princeton.EDU>
  8. X-NewsSoftware: GRn 1.16f (10.17.92) by Mike Schwartz & Michael B. Smith
  9. Date: 20 Jan 93 22:16:20 CET
  10. Organization: Amiga User Group Sweden
  11. Lines: 23
  12.  
  13. In article <1993Jan17.000840.20657@csservices.Princeton.EDU> blume@kastle.Princeton.EDU (Matthias Blume) writes:
  14.  
  15. > int mymain (int argc, char **argv)
  16.                              ^^^^^^
  17.  
  18. Sorry to burst in like this but isn't this wrong? I was told that you should
  19. use *argv[] instead of **argv. They are clearly not the same thing.
  20.  
  21. If this is a FAQ I'm sorry but I have only been here a few days.
  22.  
  23. BTW. is there a FAQ-sheet somewhere and if that is the case, where can I find
  24. it?
  25.  
  26. Thanks for your time.
  27.  
  28. --
  29.   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  30.   + Staffan Friberg                   +  EMail:                         +
  31.   + Undergraduate student  Chemistry  +                                 +
  32.   + Linkoping University              +  InterNet: staff@rabbit.augs.se +
  33.   + Sweden                            +  FidoNet:  2:204/404.2          +
  34.   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  35.   Life, loathe it or ignore it, you can't like it.   (Marvin)
  36.