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

C / C++ / MFC

 
GeneralRe: Intravenous caffeine [edited] Pin
Michael Dunn8-Dec-01 15:55
sitebuilderMichael Dunn8-Dec-01 15:55 
GeneralRe: Intravenous caffeine [edited] Pin
David Wulff8-Dec-01 16:00
David Wulff8-Dec-01 16:00 
GeneralRe: Intravenous caffeine [edited] Pin
PJ Arends8-Dec-01 15:56
professionalPJ Arends8-Dec-01 15:56 
GeneralProblem fixed! Pin
David Wulff8-Dec-01 16:21
David Wulff8-Dec-01 16:21 
GeneralProblem with template Pin
8-Dec-01 13:26
suss8-Dec-01 13:26 
GeneralRe: Problem with template Pin
Michael Dunn8-Dec-01 15:27
sitebuilderMichael Dunn8-Dec-01 15:27 
GeneralRe: Problem with template Pin
9-Dec-01 12:16
suss9-Dec-01 12:16 
GeneralRe: Problem with template Pin
Alvaro Mendez11-Dec-01 6:08
Alvaro Mendez11-Dec-01 6:08 
A limitation of VC? I don't think so. That's how all compilers work with templates. Since the compiler doesn't generate any code until you explicitly create a type from the template, the code for the template must be readily available to the compiler. If the code is inside some CPP, the compiler can't access it and thus cannot generate the appropriate code for the new type.

That's my understanding of why template code has to be inside header files. It's always been this way for UNIX compilers as well.

Regards,
Alvaro
GeneralOpening a Dialog Box through a Menu Pin
8-Dec-01 13:11
suss8-Dec-01 13:11 
GeneralWeb site Search Using MS Access 2000 Pin
8-Dec-01 11:21
suss8-Dec-01 11:21 
GeneralRe: Web site Search Using MS Access 2000 Pin
Jon Sagara8-Dec-01 11:43
Jon Sagara8-Dec-01 11:43 
Generalget user defined message box font continued Pin
Henry Jacobs8-Dec-01 10:27
Henry Jacobs8-Dec-01 10:27 
GeneralRe: get user defined message box font continued Pin
Daniel Ferguson8-Dec-01 18:23
Daniel Ferguson8-Dec-01 18:23 
GeneralRe: get user defined message box font continued Pin
Henry Jacobs9-Dec-01 8:52
Henry Jacobs9-Dec-01 8:52 
GeneralPreserving Undo Buffer between Saves Pin
Amit Jain8-Dec-01 10:00
Amit Jain8-Dec-01 10:00 
GeneralID_WINDOW_TITLE_VERT Pin
MFC8-Dec-01 7:45
MFC8-Dec-01 7:45 
GeneralRe: ID_WINDOW_TITLE_VERT Pin
Michael Dunn8-Dec-01 9:22
sitebuilderMichael Dunn8-Dec-01 9:22 
QuestionFile compression...? Pin
BlackSmith8-Dec-01 5:49
BlackSmith8-Dec-01 5:49 
AnswerRe: File compression...? Pin
Henry Jacobs8-Dec-01 10:14
Henry Jacobs8-Dec-01 10:14 
Generaltaskbar icon... Pin
BlackSmith8-Dec-01 5:45
BlackSmith8-Dec-01 5:45 
GeneralRe: taskbar icon... Pin
Henry Jacobs8-Dec-01 10:10
Henry Jacobs8-Dec-01 10:10 
GeneralRe: taskbar icon... Pin
Chris Maunder8-Dec-01 15:50
cofounderChris Maunder8-Dec-01 15:50 
GeneralCArchive << operator Pin
Prateek Kaul8-Dec-01 2:55
Prateek Kaul8-Dec-01 2:55 
GeneralIndustrial type programming Pin
Stan the man7-Dec-01 22:56
Stan the man7-Dec-01 22:56 
GeneralThread question Pin
Stan the man7-Dec-01 22:39
Stan the man7-Dec-01 22:39 

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.