Message-Id: <199704010400.XAA27869@hcst.net> From: "Bryan Murphy" To: Subject: Template (Virtual Table) Problems Date: Mon, 31 Mar 1997 22:56:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I've been trying to figure out why I get these virtual table errors when using templates. I've noticed something: I have two files: INIFILE.H/CC and UNIVERSE.H/CC, when INIFILE.H/CC is included in the project and the objects are instantiated in the LLIST.CC file, all references to the UNIVERSE.H/CC objects give me the virtual table errors. When I remove the INIFILE.H/CC objects from the project and the instantiations in the LLIST.CC file everything compiles fine. Can you have template objects defined in more than one file? This is very weird. I wish I could narrow the code down to show you guys, but I am having a hard time pinpointing this. It keeps eluding me. Also, tell me this? Does the standard Template library work with DJGPP, and if so where can I find some clear, concise, and readable documentation on how to use it? I'm really really sick of dealing with these template problems, and I have yet to find documentation for the Standard Template Library that makes sense and is readable. ------------------------------------------------------------------------- Bryan Murphy Homepage: http://www.hcst.com/~bryan/ Hassler Communication Systems Workpage: http://www.hcst.com/ Dayton, Ohio E-mail: bf461 AT cleveland DOT freenet DOT edu -------------------------------------------------------------------------