Click here to Skip to main content
16,006,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVC++ copy variables data? Pin
Todd Smith24-Oct-01 13:36
Todd Smith24-Oct-01 13:36 
AnswerRe: VC++ copy variables data? Pin
The_Server24-Oct-01 22:35
The_Server24-Oct-01 22:35 
GeneralFormatting Double Pin
AJ12324-Oct-01 12:20
AJ12324-Oct-01 12:20 
GeneralRe: Formatting Double Pin
Christian Graus24-Oct-01 12:28
protectorChristian Graus24-Oct-01 12:28 
Generalwsprintf does not work with doubles Pin
Tomasz Sowinski25-Oct-01 1:14
Tomasz Sowinski25-Oct-01 1:14 
GeneralRe: Formatting Double Pin
Mike Burston24-Oct-01 12:52
Mike Burston24-Oct-01 12:52 
General"STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 11:37
suss24-Oct-01 11:37 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Christian Graus24-Oct-01 11:47
protectorChristian Graus24-Oct-01 11:47 
You're not using STL, you're using the Microsoft container classes. A CArray needs to have two templated arguments to tell it what to contain ( STL containers need one ). You probably *should* use STL, but that is another story.

The problem is not the typedef, but the fact that you probably have not provided the template arguments either in the typedef or the instances you use your typedefed names. Wthout providing the template arguments in the typedef, I can't see any reason for it myself. I never bother with typedefs at all, but they can make code more readable for people who are not familiar with templates or (in my case) STL.



Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 19:28
suss24-Oct-01 19:28 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 19:44
sitebuilderMichael Dunn24-Oct-01 19:44 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 20:23
suss24-Oct-01 20:23 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 20:42
sitebuilderMichael Dunn24-Oct-01 20:42 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Steen Krogsgaard24-Oct-01 20:59
Steen Krogsgaard24-Oct-01 20:59 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 21:25
sitebuilderMichael Dunn24-Oct-01 21:25 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Steen Krogsgaard24-Oct-01 22:16
Steen Krogsgaard24-Oct-01 22:16 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 14:40
sitebuilderMichael Dunn24-Oct-01 14:40 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Christian Graus24-Oct-01 14:42
protectorChristian Graus24-Oct-01 14:42 
GeneralRepositioning a toolbar Pin
Walter Pak24-Oct-01 11:19
Walter Pak24-Oct-01 11:19 
GeneralRe: Repositioning a toolbar Pin
Christian Graus24-Oct-01 18:40
protectorChristian Graus24-Oct-01 18:40 
GeneralDatabase question Pin
Peter Molnar24-Oct-01 10:45
Peter Molnar24-Oct-01 10:45 
GeneralRe: Database question Pin
Michael P Butler24-Oct-01 11:21
Michael P Butler24-Oct-01 11:21 
GeneralRe: Database question Pin
Simon Walton24-Oct-01 11:28
Simon Walton24-Oct-01 11:28 
GeneralRe: Database question Pin
Michael P Butler24-Oct-01 11:38
Michael P Butler24-Oct-01 11:38 
GeneralRe: Database question Pin
Carlos Antollini24-Oct-01 11:49
Carlos Antollini24-Oct-01 11:49 
GeneralRe: Database question Pin
Simon Walton24-Oct-01 11:25
Simon Walton24-Oct-01 11:25 

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.