Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!adobe!hawley From: hawley@adobe.COM (Steve Hawley) Newsgroups: comp.sys.mac.programmer Subject: Re: Stealth Think C header file attack? Message-ID: <10990@adobe.UUCP> Date: 11 Feb 91 20:43:09 GMT References: <7832.27b32be5@zeus.unomaha.edu> Reply-To: hawley@adobe.UUCP (Steve Hawley) Organization: Adobe Systems Incorporated, Mountain View Lines: 20 In article <7832.27b32be5@zeus.unomaha.edu> jsaker@zeus.unomaha.edu (Jamie Saker) writes: >When I go to add the stdio.h header file, Think C cannot see it inside >it's folder. We're running it off of an AppleShare server (SE/30) and I'm on >a SE (w/ 2 1/2 MB RAM). The files are visible at the desktop >level, but when it comes to including -any- header file, they >are not visible. However, any *.c file /is/ visible. It sounds to me like you are trying to use the "Add..." selection in the Project menu to add files to your project. You cannot add .h files, since they are not C source (technically). If you want a C file to include a .h file, then use #include or #include "file" as is dictated by the location of the file. If you want the files transparently included in all your files, see the section in yout Think C manual on precompiled headers. Steve Hawley hawley@adobe.com -- "Did you know that a cow was *MURDERED* to make that jacket?" "Yes. I didn't think there were any witnesses, so I guess I'll have to kill you too." -Jake Johansen