Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!lanl!p3.lanl.gov!egw.weakm From: egw.weakm@p3.lanl.gov (Eric Wasserman) Newsgroups: comp.sys.mac.programmer Subject: Re: Simple Think C question Message-ID: <15920@lanl.gov> Date: 27 Feb 91 01:07:51 GMT Sender: news@lanl.gov Organization: LANL Lines: 17 References:<0blpRGq00WB34DLlpM@andrew.cmu.edu> <669@newave.UUCP> In article <669@newave.UUCP> john@newave.UUCP (John A. Weeks III) writes: >I'm working my way through the "Macintosh C Programming Primer" and I've >bombed on the Hello, World #2 program. I get the error "invalid declaration" >when I precompile. The offending line seems to be: ^^^^^^^^^^ > > WindowPtr gHelloWindow; You aren't really trying to 'PREcompile' a .c file are you? Precompile is a special ThinkC speedup feature which you probably shouldn't worry about using until you get yourself oriented in the ThinkC environment. Try plainold "Compile". Sorry if this was just a typo on your part. Eric egw.weakm@p3.lanl.gov