home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / cplus / 19678 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.5 KB

  1. Path: sparky!uunet!pipex!warwick!bham!pickerig
  2. From: pickerig@eee.bham.ac.uk (Guy Pickering)
  3. Newsgroups: comp.lang.c++
  4. Subject: Template Use <sigh>
  5. Date: 21 Jan 1993 17:10:11 GMT
  6. Organization: The University of Birmingham, England
  7. Lines: 33
  8. Message-ID: <1jmldjINN6u3@rs6000.bham.ac.uk>
  9. NNTP-Posting-Host: annapurna.eee.bham.ac.uk
  10. X-Newsreader: TIN [version 1.1 PL6]
  11.  
  12. I imagine this an FAQ, so please excuse my ignorance (anyone know where
  13. to get an FAQ list?).
  14.  
  15. I am starting to use templates (AT&T V3.01), I define the templates in
  16. a separate directory to my main source code. I keep getting the following
  17. warnings and errors:
  18.  
  19.   CC[ptlink] warning: template definition file LookupTable.C not found
  20.   .
  21.   .
  22.   .
  23.   CC[ptlink]: unresolveable template symbols are:
  24.         LookupTable<unsigned char>::~LookupTable<unsigned char>(void)
  25.   CC[ptlink] fatal error: template symbols cannot be resolved
  26.  
  27. I do not have a full understanding of how template code is created. I
  28. assume it is not the same as the usual compile-link phases for C/C++ code.
  29.  
  30. Could someone enlighten me as to a) What my problem is, as described
  31. above, and b) How the template thing works?
  32.  
  33. Many thanks in advance,
  34.  
  35. Guy.
  36.  
  37. --
  38. +--------------------------------+-----------------------------------------+
  39. | Guy Pickering                  | School of Electronic & Electrical Eng,  |
  40. | E-MAIL: G.PICKERING@uk.ac.bham | University of Birmingham,               |
  41. | Tel: (021) 414 4340            | Edgbaston, Birmingham. B15 2TT.         |
  42. +--------------------------------+-----------------------------------------+
  43.  
  44.  
  45.