Click here to Skip to main content
15,923,197 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Input box Pin
Nish Nishant13-Nov-01 20:21
sitebuilderNish Nishant13-Nov-01 20:21 
GeneralRe: Input box Pin
David Fleming13-Nov-01 20:25
David Fleming13-Nov-01 20:25 
GeneralRe: Input box Pin
Nish Nishant13-Nov-01 21:29
sitebuilderNish Nishant13-Nov-01 21:29 
GeneralRe: Input box Pin
David Fleming14-Nov-01 8:26
David Fleming14-Nov-01 8:26 
GeneralRe: Input box Pin
Nish Nishant14-Nov-01 17:02
sitebuilderNish Nishant14-Nov-01 17:02 
GeneralRe: Input box Pin
PJ Arends13-Nov-01 22:11
professionalPJ Arends13-Nov-01 22:11 
GeneralRe: Input box Pin
David Fleming14-Nov-01 9:19
David Fleming14-Nov-01 9:19 
GeneralTemplates and Unresolved Externals Pin
Xavier Shay13-Nov-01 19:51
Xavier Shay13-Nov-01 19:51 
I'm trying to implement a class not unlike CList, XList. I'm using a template

template <class T> class XList

and when I compile I get unresolved externals errors for my constructor and deconstructor. I originally got this error for all my functions but I fixed it by adding 'virtual' to the front of the declaration. This doesn't seem to work with the aforemention functions. I'm declaring them thus:

XList();
virtual ~XList();

template <class T>
XList<T>::XList() {
// Constructor Code
}

template <class Tglt;
XList<T>::~XList() {
// Deconstructor code
}

Any help would be appreciated

- X
GeneralRe: Templates and Unresolved Externals Pin
Oliver Anhuth13-Nov-01 21:31
Oliver Anhuth13-Nov-01 21:31 
GeneralRe: Templates and Unresolved Externals Pin
Xavier Shay13-Nov-01 22:43
Xavier Shay13-Nov-01 22:43 
GeneralRe: Templates and Unresolved Externals Pin
Krouer14-Nov-01 23:23
Krouer14-Nov-01 23:23 
GeneralRe: Templates and Unresolved Externals Pin
Oliver Anhuth15-Nov-01 22:58
Oliver Anhuth15-Nov-01 22:58 
GeneralWin32 Socket Pin
phat13-Nov-01 18:14
phat13-Nov-01 18:14 
GeneralRe: Win32 Socket Pin
Nish Nishant13-Nov-01 18:34
sitebuilderNish Nishant13-Nov-01 18:34 
GeneralRe: Win32 Socket Pin
markkuk13-Nov-01 19:38
markkuk13-Nov-01 19:38 
GeneralSockets problem Pin
Jon Sagara13-Nov-01 17:53
Jon Sagara13-Nov-01 17:53 
Generalrcopy.cpp Pin
Jon Sagara13-Nov-01 17:56
Jon Sagara13-Nov-01 17:56 
Generalserver.cpp Pin
Jon Sagara13-Nov-01 17:58
Jon Sagara13-Nov-01 17:58 
GeneralRe: Sockets problem - figured it out Pin
Jon Sagara13-Nov-01 20:44
Jon Sagara13-Nov-01 20:44 
GeneralRe: Sockets problem - figured it out Pin
Nish Nishant13-Nov-01 21:45
sitebuilderNish Nishant13-Nov-01 21:45 
GeneralRe: Sockets problem - figured it out Pin
Jon Sagara13-Nov-01 21:54
Jon Sagara13-Nov-01 21:54 
GeneralRe: Sockets problem - figured it out Pin
Jon Sagara13-Nov-01 21:57
Jon Sagara13-Nov-01 21:57 
GeneralRe: Sockets problem - figured it out Pin
Nish Nishant13-Nov-01 22:19
sitebuilderNish Nishant13-Nov-01 22:19 
QuestionHow to Browse for a Directory? Pin
Jerry Wang13-Nov-01 14:20
Jerry Wang13-Nov-01 14:20 
AnswerRe: How to Browse for a Directory? Pin
Michael Dunn13-Nov-01 16:09
sitebuilderMichael Dunn13-Nov-01 16:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.