Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Database loading errors Pin
Anders Molin1-Jul-01 7:27
professionalAnders Molin1-Jul-01 7:27 
GeneralRe: Database loading errors Pin
Chris Klecker1-Jul-01 9:38
Chris Klecker1-Jul-01 9:38 
GeneralRe: Database loading errors Pin
Anders Molin1-Jul-01 10:07
professionalAnders Molin1-Jul-01 10:07 
GeneralRe: Database loading errors Pin
Chris Klecker1-Jul-01 10:48
Chris Klecker1-Jul-01 10:48 
GeneralRe: Database loading errors Pin
Anders Molin1-Jul-01 11:58
professionalAnders Molin1-Jul-01 11:58 
GeneralNew Stream Types Pin
NullStream30-Jun-01 21:43
NullStream30-Jun-01 21:43 
GeneralRe: New Stream Types Pin
1-Jul-01 20:03
suss1-Jul-01 20:03 
Generalstupid (template related?) linkage puzzle Pin
Alex Griffing30-Jun-01 20:28
Alex Griffing30-Jun-01 20:28 
Hi everyone!
I've been programming in C++ for quite a while but I'm just learning the template stuff in the hopes of taking advantage of the STL. Anyway, I have a header file declaring two different classes, one of which is templated. The non-inlined member functions of these classes are defined in the same cpp file. When I try to build the program, the non-inlined member functions of the templated classes give me a linkage error (unresolved external symbol) while the corresponding functions of the non-templated class work fine. Furthermore, if I cut and paste the definitions of the member function of the templated class into the header file then everything links up fine. I know if I keep it like this I'll get reincarnated as a newt. Any suggestions? Confused | :confused:
GeneralRe: stupid (template related?) linkage puzzle Pin
Michael Dunn30-Jun-01 21:29
sitebuilderMichael Dunn30-Jun-01 21:29 
GeneralRe: stupid (template related?) linkage puzzle Pin
Erik Funkenbusch1-Jul-01 1:22
Erik Funkenbusch1-Jul-01 1:22 
GeneralRe: stupid (template related?) linkage puzzle Pin
NullStream1-Jul-01 8:34
NullStream1-Jul-01 8:34 
GeneralRe: stupid (template related?) linkage puzzle Pin
Alex Griffing1-Jul-01 13:30
Alex Griffing1-Jul-01 13:30 
GeneralSliding message window Pin
30-Jun-01 13:58
suss30-Jun-01 13:58 
GeneralTo all readers - I'm collecting FAQs from this forum Pin
Michael Dunn30-Jun-01 13:44
sitebuilderMichael Dunn30-Jun-01 13:44 
Generalmemset with 32 bit values Pin
Alex Griffing30-Jun-01 11:09
Alex Griffing30-Jun-01 11:09 
GeneralRe: memset with 32 bit values Pin
Mike Nordell30-Jun-01 11:35
Mike Nordell30-Jun-01 11:35 
GeneralRe: memset with 32 bit values Pin
Ben Burnett30-Jun-01 13:17
Ben Burnett30-Jun-01 13:17 
GeneralRe: memset with 32 bit values Pin
Alex Griffing30-Jun-01 14:07
Alex Griffing30-Jun-01 14:07 
GeneralSDI question ... Pin
Hadi Rezaee30-Jun-01 8:17
Hadi Rezaee30-Jun-01 8:17 
GeneralRe: SDI question ... Pin
Hadi Rezaee30-Jun-01 17:23
Hadi Rezaee30-Jun-01 17:23 
GeneralHelp - CString::LoadString(nID) is using the wrong resource handle! Pin
James Millson30-Jun-01 8:07
James Millson30-Jun-01 8:07 
GeneralRe: Help - CString::LoadString(nID) is using the wrong resource handle! Pin
Chris Losinger30-Jun-01 8:19
professionalChris Losinger30-Jun-01 8:19 
GeneralRe: Help - CString::LoadString(nID) is using the wrong resource handle! Pin
James Millson30-Jun-01 14:53
James Millson30-Jun-01 14:53 
GeneralSimple ActiveX question ... Pin
Hadi Rezaee30-Jun-01 7:03
Hadi Rezaee30-Jun-01 7:03 
GeneralDLL IsWindow assert Pin
Peter Marino30-Jun-01 6:58
Peter Marino30-Jun-01 6: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.