Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: Help on "C++ Programming with MacApp" book needed Message-ID: <12750@goofy.Apple.COM> Date: 26 Mar 91 19:59:13 GMT References: <1991Mar5.155430.3246@jhereg.osa.com> <1991Mar8.120743.2089@Informatik.TU-Muenchen.DE> <9791@hub.ucsb.edu> Organization: Apple Computer, Inc. Lines: 12 > >I would have to agree.... all I did was set the -m main in the link >options, and everything was peachy. I don't think this is a good idea. There is special initialization code that has to run before your main, so main itself shouldn't be the program main entry point. -- Larry Rosenstein, Object Specialist Apple Computer, Inc. 20525 Mariani Ave, MS 3-PK Cupertino, CA 95014 AppleLink:Rosenstein1 domain:lsr@Apple.COM UUCP:{sun,voder,nsc,decwrl}!apple!lsr