home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!searchtech.com!mra
- From: mra@searchtech.com (Michael Almond)
- Newsgroups: comp.lang.c++
- Subject: Re: Precompiled headers in Turbo C++ 3.0
- Message-ID: <1992Aug18.153123.26357@searchtech.com>
- Date: 18 Aug 92 15:31:23 GMT
- References: <1992Aug15.045015.42365@kuhub.cc.ukans.edu>
- Organization: Search Technology, Inc.
- Lines: 23
-
- In article <1992Aug15.045015.42365@kuhub.cc.ukans.edu> jeff@kuhub.cc.ukans.edu (Jeff Bangert) writes:
- >What I know so far: include files must be in DECREASING order of size.
-
- Hmm, I have not found this to be of any importance.
-
- >But, when I build a library, with my own .h file, and my own .h file
- >includes some .h files, then precompiled headers may or may not work.
-
- They should, my do. On thing I do is create a standard header file for
- each type of source file (file maintenance, records, file I/O, reports, etc).
- Then include on this on file at the top of a module followed by #pragma
- hdrstop. After the #pragma I include all the special *.h for the module.
-
- >Since precompiled headers speed up compiles quite a bit, I really like
- >them, and it's frustrating when they don't work.
-
- Yes they do speed things up, however they work best when you have the
- same set of headers marked for pre-compile across several modules.
- --
- Michael R. Almond (Georgia Tech Alumnus) mra@srchtec.uucp (registered)
- computer alli, inc. mra@searchtech.com
- 6000E dawson blvd. uupsi!srchtec!mra
- norcross, georgia 30093 (404) 840-1002 (office)
-