Click here to Skip to main content
16,010,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTemplate ? Pin
Stan the man10-Jan-03 15:24
Stan the man10-Jan-03 15:24 
AnswerRe: Template ? Pin
Michael Dunn10-Jan-03 15:41
sitebuilderMichael Dunn10-Jan-03 15:41 
GeneralRe: Template ? Pin
Stan the man10-Jan-03 23:51
Stan the man10-Jan-03 23:51 
GeneralRe: Template ? Pin
Michael Dunn11-Jan-03 6:14
sitebuilderMichael Dunn11-Jan-03 6:14 
GeneralRe: Template ? Pin
Stan the man11-Jan-03 14:31
Stan the man11-Jan-03 14:31 
GeneralRe: Template ? Pin
Michael Dunn11-Jan-03 19:26
sitebuilderMichael Dunn11-Jan-03 19:26 
GeneralRe: Template ? Pin
Stan the man12-Jan-03 4:19
Stan the man12-Jan-03 4:19 
GeneralRe: Template ? Pin
Stan the man12-Jan-03 4:48
Stan the man12-Jan-03 4:48 
Hi Michael.

I tried this. I ended PUT ALL the functions insides the template itself all in the header file. But it is still the same Link 2001 unresolved external symbol error. I can't understand it. I never had to put all the functions in the template in the heade file if it is not derived from it. It works fine.

I am really confused now as to what is actually the problem. It must be syntax. Right now I just want to change it to this class and its derived class to a template. I am not actually using the <class X> part yet meaning it should still work as before without the template declarations.

Any other ideas? Appreciate your help through this


GeneralEvery build destroys my gif resource Pin
georgiek5010-Jan-03 13:51
georgiek5010-Jan-03 13:51 
Generalquestions , questions..... Pin
joshfl10-Jan-03 12:56
joshfl10-Jan-03 12:56 
GeneralRe: questions , questions..... Pin
Michael Dunn10-Jan-03 13:44
sitebuilderMichael Dunn10-Jan-03 13:44 
GeneralRe: questions , questions..... Pin
Joan M12-Jan-03 21:47
professionalJoan M12-Jan-03 21:47 
Generalunique id... Pin
User 988510-Jan-03 12:16
User 988510-Jan-03 12:16 
GeneralRe: unique id... Pin
Chris Losinger10-Jan-03 20:28
professionalChris Losinger10-Jan-03 20:28 
GeneralFun with std::map Pin
Chris Richardson10-Jan-03 11:21
Chris Richardson10-Jan-03 11:21 
GeneralRe: Fun with std::map Pin
AlexO10-Jan-03 11:34
AlexO10-Jan-03 11:34 
GeneralRe: Fun with std::map Pin
Chris Richardson10-Jan-03 11:42
Chris Richardson10-Jan-03 11:42 
GeneralSystem Wide Keyboard Hooking Pin
joshfl10-Jan-03 10:31
joshfl10-Jan-03 10:31 
GeneralRe: System Wide Keyboard Hooking Pin
Joan M10-Jan-03 10:48
professionalJoan M10-Jan-03 10:48 
GeneralRe: System Wide Keyboard Hooking Pin
joshfl10-Jan-03 11:19
joshfl10-Jan-03 11:19 
GeneralRe: System Wide Keyboard Hooking Pin
joshfl10-Jan-03 12:47
joshfl10-Jan-03 12:47 
GeneralRe: System Wide Keyboard Hooking Pin
Joan M12-Jan-03 21:41
professionalJoan M12-Jan-03 21:41 
GeneralRe: System Wide Keyboard Hooking Pin
joshfl13-Jan-03 5:35
joshfl13-Jan-03 5:35 
Generalsetting/reading values of vars whe I have only the name of the var. Pin
Joan M10-Jan-03 9:38
professionalJoan M10-Jan-03 9:38 
GeneralRe: setting/reading values of vars whe I have only the name of the var. Pin
Maximilien10-Jan-03 9:58
Maximilien10-Jan-03 9:58 

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.