Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: IStorage and IStream Pin
David Crow7-Aug-06 3:50
David Crow7-Aug-06 3:50 
QuestionKeyboard Navigation in Win32 application Pin
_sidd6-Aug-06 4:44
_sidd6-Aug-06 4:44 
AnswerRe: Keyboard Navigation in Win32 application Pin
James Brown6-Aug-06 7:02
James Brown6-Aug-06 7:02 
QuestionMFC Control Wizard in VS2005 Pin
Matthias19786-Aug-06 2:17
Matthias19786-Aug-06 2:17 
AnswerRe: MFC Control Wizard in VS2005 Pin
bob169726-Aug-06 6:08
bob169726-Aug-06 6:08 
QuestionInsert numbers to access using ADO Pin
Mugambi6-Aug-06 0:26
Mugambi6-Aug-06 0:26 
QuestionProcessing LVN_ITEMCHANGED for multiple items Pin
_johan5-Aug-06 21:21
_johan5-Aug-06 21:21 
QuestionRe: Processing LVN_ITEMCHANGED for multiple items Pin
David Crow7-Aug-06 3:55
David Crow7-Aug-06 3:55 
AnswerRe: Processing LVN_ITEMCHANGED for multiple items Pin
_johan7-Aug-06 11:34
_johan7-Aug-06 11:34 
Questionchange bk color of CPropertySheet Pin
includeh105-Aug-06 21:17
includeh105-Aug-06 21:17 
QuestionCList Vs CArray MFC Pin
-Mohan-5-Aug-06 18:59
-Mohan-5-Aug-06 18:59 
AnswerRe: CList Vs CArray MFC Pin
Joe Woodbury5-Aug-06 19:44
professionalJoe Woodbury5-Aug-06 19:44 
AnswerRe: CList Vs CArray MFC Pin
ThatsAlok5-Aug-06 23:09
ThatsAlok5-Aug-06 23:09 
AnswerRe: CList Vs CArray MFC Pin
Christian Graus6-Aug-06 1:47
protectorChristian Graus6-Aug-06 1:47 
GeneralRe: CList Vs CArray MFC Pin
bob169726-Aug-06 5:46
bob169726-Aug-06 5:46 
GeneralRe: CList Vs CArray MFC Pin
Kevin McFarlane6-Aug-06 6:43
Kevin McFarlane6-Aug-06 6:43 
GeneralRe: CList Vs CArray MFC Pin
bob169726-Aug-06 7:35
bob169726-Aug-06 7:35 
GeneralRe: CList Vs CArray MFC Pin
Kevin McFarlane6-Aug-06 8:50
Kevin McFarlane6-Aug-06 8:50 
GeneralRe: CList Vs CArray MFC [modified] Pin
bob169726-Aug-06 9:27
bob169726-Aug-06 9:27 
GeneralRe: CList Vs CArray MFC Pin
Kevin McFarlane6-Aug-06 9:44
Kevin McFarlane6-Aug-06 9:44 
GeneralRe: CList Vs CArray MFC Pin
Christian Graus6-Aug-06 10:46
protectorChristian Graus6-Aug-06 10:46 
GeneralRe: CList Vs CArray MFC Pin
Zac Howland7-Aug-06 4:11
Zac Howland7-Aug-06 4:11 
Christian Graus wrote:
and you feel that writing a function object for use by 'for each' for serialisation is more work than all of the above, then you should stick with MFC.


You do, of course, realize that many of the MFC containers can be used in almost all of the STL algorithms? In fact, many of the STL algorithms can even operate on something so "archaic" as a C-style array.

Christian Graus wrote:
As has been said, STL is more powerful than MFC containers


*ehem* You should clarify: As has been stated by you.

Christian Graus wrote:
aware that the MFC containers are obsolete, and lacking in many features that are present in C++ containers.


And what features, exactly, are the MFC containers "missing" that STL containers have. Besides the little used ability to change memory allocators or container traits, that is.

Christian Graus wrote:
No, what's silly is that so many people use containers that they are going to outgrow, because they don't know any better.


You use a hammer when you need a hammer; a screwdriver when you need a screwdriver; and the proper collection type for the data you are operating on when you need that.

I'm a big fan of STL, and routinely remind programmers that 90% of the time they shouldn't be writing loops when using STL; however, STL is not superior to MFC in the area of collections, it is different. They were designed for different purposes and each should be used appropriately for those purposes.


If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

GeneralRe: CList Vs CArray MFC Pin
Christian Graus6-Aug-06 10:48
protectorChristian Graus6-Aug-06 10:48 
GeneralRe: CList Vs CArray MFC Pin
Zac Howland7-Aug-06 4:01
Zac Howland7-Aug-06 4:01 
GeneralRe: CList Vs CArray MFC Pin
Christian Graus6-Aug-06 11:01
protectorChristian Graus6-Aug-06 11:01 

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.