Click here to Skip to main content
15,910,471 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Hyperlinks from database..?? Pin
Steve S17-Jul-03 1:59
Steve S17-Jul-03 1:59 
GeneralRe: Hyperlinks from database..?? Pin
G}{0$T17-Jul-03 2:11
G}{0$T17-Jul-03 2:11 
GeneralRe: Hyperlinks from database..?? Pin
Ryan Binns17-Jul-03 3:13
Ryan Binns17-Jul-03 3:13 
GeneralCan't get remove to work for me properly.. Pin
IrishSonic17-Jul-03 1:15
IrishSonic17-Jul-03 1:15 
GeneralRe: Can't get remove to work for me properly.. Pin
Cedric Moonen17-Jul-03 1:20
Cedric Moonen17-Jul-03 1:20 
GeneralMAPI problem!!! help Pin
xxhimanshu17-Jul-03 1:07
xxhimanshu17-Jul-03 1:07 
GeneralMAPI problem!!! help Pin
xxhimanshu17-Jul-03 1:07
xxhimanshu17-Jul-03 1:07 
Generalout-of-class definition of members of template classes Pin
roel_17-Jul-03 1:00
roel_17-Jul-03 1:00 
Hi,

Is the following possible with Visual C++ .Net:

class.h:

template<class t="">
class A
{
public:
T* GetT();
private:
T* m_T;
}

class.cpp:
template<class t="">
T* A<t>::GetT()
{
return m_T;
}

If so, what is the correct syntax? The above gives me a linker error saying 'undefined reference to A<t>::GetT()', which basically means to me that class.cpp is not included in the compilation somehow, or at least that the contents of class.cpp are not associated with the declaration in class.h (correct me if I'm wrong on this).
I hope my question is clear enough, thanks for all insights!

cheers,

roel
GeneralRe: out-of-class definition of members of template classes Pin
Mike Dimmick17-Jul-03 2:37
Mike Dimmick17-Jul-03 2:37 
GeneralRe: out-of-class definition of members of template classes Pin
roel_17-Jul-03 4:03
roel_17-Jul-03 4:03 
GeneralRe: out-of-class definition of members of template classes Pin
roel_17-Jul-03 4:04
roel_17-Jul-03 4:04 
GeneralRe: out-of-class definition of members of template classes Pin
Mike Dimmick17-Jul-03 4:19
Mike Dimmick17-Jul-03 4:19 
GeneralRe: out-of-class definition of members of template classes Pin
roel_17-Jul-03 5:51
roel_17-Jul-03 5:51 
GeneralRe: out-of-class definition of members of template classes Pin
Andrew Walker17-Jul-03 4:22
Andrew Walker17-Jul-03 4:22 
GeneralRe: out-of-class definition of members of template classes Pin
roel_17-Jul-03 5:52
roel_17-Jul-03 5:52 
GeneralCode for CMD.exe Pin
Saty17-Jul-03 0:42
Saty17-Jul-03 0:42 
GeneralRe: Code for CMD.exe Pin
Anthony_Yio18-Jul-03 1:09
Anthony_Yio18-Jul-03 1:09 
GeneralRe: Code for CMD.exe Pin
Mark Basedow18-Jul-03 14:27
Mark Basedow18-Jul-03 14:27 
Questionhow to take the result of a select query into a variable? Pin
vcseeker17-Jul-03 0:26
vcseeker17-Jul-03 0:26 
AnswerRe: how to take the result of a select query into a variable? Pin
Daniel Turini17-Jul-03 0:40
Daniel Turini17-Jul-03 0:40 
GeneralRe: how to take the result of a select query into a variable? Pin
vcseeker17-Jul-03 1:07
vcseeker17-Jul-03 1:07 
AnswerRe: how to take the result of a select query into a variable? Pin
Cedric Moonen17-Jul-03 1:16
Cedric Moonen17-Jul-03 1:16 
GeneralRe: how to take the result of a select query into a variable? Pin
vcseeker17-Jul-03 2:18
vcseeker17-Jul-03 2:18 
QuestionHow to set IP Address of any NIC? Pin
Hashim Saleem16-Jul-03 23:18
Hashim Saleem16-Jul-03 23:18 
GeneralWin2k DDK Pin
anshumanshinde16-Jul-03 23:03
anshumanshinde16-Jul-03 23:03 

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.