Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!mailrus!cornell!calvin!johns From: johns@calvin.EE.CORNELL.EDU (John Sahr) Newsgroups: comp.lang.c Subject: Re: Numerical Recipes in C for Macintosh Message-ID: <614@calvin.EE.CORNELL.EDU> Date: 2 Sep 88 16:26:21 GMT References: <422@arisia.Xerox.COM> <8416@smoke.ARPA> <3834@bsu-cs.UUCP> Reply-To: johns@calvin.ee.cornell.edu.UUCP (John Sahr) Organization: Cornell Space Plasma Physics Group Lines: 18 I failed to include the text of an article stating (I paraphrase): A special edition of Numerical Recipes (in Language X) is needed for the Macintosh, because there is no way to get argc and argv in main. There are two things wrong with this. First, Everything in NR (I think) is a subroutine call, so the main() command line isn't really an issue. Also, it is simple enough to write a patch which simply queries the user for the command line upon invocation. Lightspeed C even provides the code, although it is really quite simple. These opinions are, of course, my own. -- John Sahr, School of Elect. Eng., Upson Hall Cornell University, Ithaca, NY 14853 ARPA: johns@calvin.ee.cornell.edu; UUCP: {rochester,cmcl2}!cornell!calvin!johns