delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/22/01:47:52

From: "Tom Cook" <tcook AT nexus DOT edu DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: DLList
Date: Sat, 20 Dec 1997 22:07:00 +0930
Organization: Nexus Information Service
Lines: 25
Message-ID: <67gef6$kj9@nexus.nexus.edu.au>
NNTP-Posting-Host: nexus.nexus.edu.au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

What libraries do I need to include to use the DLList template class? I have
a program that uses this like this:

#include "allegro.h"
#include "point.h"

template class DLList<CPoint>;
typedef CPointList DLList<CPoint>; //There is not an error here. The typedef
is the right way around, but I can't remember which way now.

int main()
{
CPointList p;
...
}

I get a whole pile of errors when it comes to linking, all of them undefined
references to the members of a class called "BaseDLList". Where do I find
the code for BaseDLList to link with?

Thanks

Tom Cook


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019