Click here to Skip to main content
16,005,149 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: windows task manager Pin
Blake Miller26-Jan-05 8:49
Blake Miller26-Jan-05 8:49 
GeneralADO Question Updated VC++ Pin
ivax26-Jan-05 2:50
ivax26-Jan-05 2:50 
GeneralRe: ADO Question Pin
BlackDice26-Jan-05 6:38
BlackDice26-Jan-05 6:38 
GeneralRe: ADO Question Pin
ivax27-Jan-05 1:11
ivax27-Jan-05 1:11 
Generalpdf search api Pin
Anonymous26-Jan-05 2:36
Anonymous26-Jan-05 2:36 
Generaltemplates with a nice unresolved external Pin
Ylis26-Jan-05 2:23
Ylis26-Jan-05 2:23 
GeneralRe: templates with a nice unresolved external Pin
ThatsAlok26-Jan-05 2:37
ThatsAlok26-Jan-05 2:37 
GeneralRe: templates with a nice unresolved external Pin
Bob Ciora26-Jan-05 2:38
Bob Ciora26-Jan-05 2:38 
With templates, all of the template methods have to be defined in the template's Header file. Alternately, if you want to put them into a different file, then you'll have to #include that file in your template's .h file.

The compiler treats templates like inlines, so it needs to understand how to expand your instantiations of the template. By putting the template's methods in another file that's not in the "include path" of your source, it doesn't know how to expand LList<T> for any particular <T>.

Try adding #include "LList.cpp" at the end of your header file (just before the #endif that closes out your #ifndef LIST_H__).

*EDIT* If you #include "LList.cpp", do *not* add LList.cpp to your project.*EDIT*

Bob Ciora
GeneralRe: templates with a nice unresolved external Pin
Ylis26-Jan-05 3:49
Ylis26-Jan-05 3:49 
GeneralRe: templates with a nice unresolved external Pin
Bob Ciora26-Jan-05 4:03
Bob Ciora26-Jan-05 4:03 
GeneralRe: templates with a nice unresolved external Pin
Nemanja Trifunovic26-Jan-05 2:53
Nemanja Trifunovic26-Jan-05 2:53 
GeneralCode completion plugin for Borland C++ Pin
Jose M Castellanos26-Jan-05 1:55
Jose M Castellanos26-Jan-05 1:55 
GeneralSNMP libraries with .NET C++ Pin
fslekesiz26-Jan-05 1:25
fslekesiz26-Jan-05 1:25 
GeneralRe: SNMP libraries with .NET C++ Pin
Antony M Kancidrowski26-Jan-05 1:57
Antony M Kancidrowski26-Jan-05 1:57 
GeneralRe: SNMP libraries with .NET C++ Pin
fslekesiz26-Jan-05 2:34
fslekesiz26-Jan-05 2:34 
GeneralRe: SNMP libraries with .NET C++ Pin
Antony M Kancidrowski26-Jan-05 3:13
Antony M Kancidrowski26-Jan-05 3:13 
QuestionHow to find the time interval accurate to millisecond? Pin
tttyip25-Jan-05 23:49
tttyip25-Jan-05 23:49 
AnswerRe: How to find the time interval accurate to millisecond? Pin
Cedric Moonen26-Jan-05 0:00
Cedric Moonen26-Jan-05 0:00 
GeneralRe: How to find the time interval accurate to millisecond? Pin
geo_m26-Jan-05 1:10
geo_m26-Jan-05 1:10 
GeneralRe: How to find the time interval accurate to millisecond? Pin
KaЯl26-Jan-05 5:38
KaЯl26-Jan-05 5:38 
GeneralRe: How to find the time interval accurate to millisecond? Pin
David Crow26-Jan-05 5:51
David Crow26-Jan-05 5:51 
GeneralRe: How to find the time interval accurate to millisecond? Pin
KaЯl26-Jan-05 6:22
KaЯl26-Jan-05 6:22 
GeneralRe: How to find the time interval accurate to millisecond? Pin
rbid26-Jan-05 10:27
rbid26-Jan-05 10:27 
GeneralRe: How to find the time interval accurate to millisecond? Pin
David Crow26-Jan-05 10:36
David Crow26-Jan-05 10:36 
QuestionHow to add .c file to my MFC project and using its function Pin
tttyip25-Jan-05 23:46
tttyip25-Jan-05 23:46 

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.