home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!cs.uiuc.edu!sparc0b!pjl
- From: pjl@cs.uiuc.edu (Paul Lucas)
- Subject: Re: Template Use <sigh>
- Message-ID: <C197KE.JIy@cs.uiuc.edu>
- Sender: news@cs.uiuc.edu
- Organization: University of Illinois at Urbana-Champaign
- References: <1jmldjINN6u3@rs6000.bham.ac.uk>
- Date: Fri, 22 Jan 1993 11:50:36 GMT
- Lines: 28
-
- In <1jmldjINN6u3@rs6000.bham.ac.uk> pickerig@eee.bham.ac.uk (Guy Pickering) writes:
-
- >I imagine this an FAQ, so please excuse my ignorance (anyone know where
- >to get an FAQ list?).
-
- If you wait long enough, it shows up here every now and again.
-
- >I am starting to use templates (AT&T V3.01), I define the templates in
- >a separate directory to my main source code. I keep getting the following
- >warnings and errors:
-
- > CC[ptlink] warning: template definition file LookupTable.C not found
-
- The documentation says: if your .h files really end in .h, then
- your .c files must end in .c; if .H, then .C.
-
- So, change your case. You also have to put the -I path on your
- final build line. This too is in the documentation.
-
- >I do not have a full understanding of how template code is created. I
- >assume it is not the same as the usual compile-link phases for C/C++ code.
-
- Read the documentation for details; it's too much typing to
- explain it here.
- --
- - Paul J. Lucas
- AT&T Bell Laboratories
- Naperville, IL
-