Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
GeneralRe: CList Vs CArray MFC Pin
Kevin McFarlane6-Aug-06 23:18
Kevin McFarlane6-Aug-06 23:18 
Christian Graus wrote:
So, it is better IMO to learn the more powerful and more widely available library, although there's nothing wrong with using MFC containers in the knowledge that you've compared the two options


I think this is a key factor in software development. Too many people stick with a certain technology on the grounds that they've always done it that way. We should always be prepared to at least consider newer alternatives, even if we decide that in a certain situation we'll stick with legacy technology.

18 months ago I had some of my STL code rejected by my boss on the gorunds that "we don't use STL here." (Which wasn't true, in fact.) Needless to say I was less than impressed. He also wouldn't even use the templated MFC collections.

When STL was fairly new 10 years ago it was reasonable to shy away from its use just for the sake of your fellow developers who may have been unfamiliar with it. But today there's no good reason why it should be rejected. However, I would not object to MFC code using CArray and CList. I would if they were using the older non-templated versions though or if they were using raw arrays over collection classes.



Kevin

GeneralRe: CList Vs CArray MFC Pin
Christian Graus6-Aug-06 23:53
protectorChristian Graus6-Aug-06 23:53 
GeneralRe: CList Vs CArray MFC Pin
Zac Howland7-Aug-06 3:56
Zac Howland7-Aug-06 3:56 
GeneralRe: CList Vs CArray MFC Pin
Christian Graus7-Aug-06 10:32
protectorChristian Graus7-Aug-06 10:32 
GeneralRe: CList Vs CArray MFC Pin
Zac Howland7-Aug-06 14:48
Zac Howland7-Aug-06 14:48 
AnswerRe: CList Vs CArray MFC Pin
Hamid_RT6-Aug-06 3:08
Hamid_RT6-Aug-06 3:08 
AnswerRe: CList Vs CArray MFC Pin
David Crow7-Aug-06 3:59
David Crow7-Aug-06 3:59 
Questioncalling another window from dialog box and display data Pin
With_problem5-Aug-06 18:05
With_problem5-Aug-06 18:05 
AnswerRe: calling another window from dialog box and display data Pin
A_Fa5-Aug-06 20:10
A_Fa5-Aug-06 20:10 
GeneralRe: calling another window from dialog box and display data Pin
With_problem6-Aug-06 16:34
With_problem6-Aug-06 16:34 
AnswerRe: calling another window from dialog box and display data Pin
Vipin Aravind6-Aug-06 2:12
Vipin Aravind6-Aug-06 2:12 
GeneralRe: calling another window from dialog box and display data Pin
With_problem6-Aug-06 16:29
With_problem6-Aug-06 16:29 
AnswerRe: calling another window from dialog box and display data Pin
Hamid_RT6-Aug-06 3:04
Hamid_RT6-Aug-06 3:04 
GeneralRe: calling another window from dialog box and display data Pin
With_problem6-Aug-06 16:32
With_problem6-Aug-06 16:32 
GeneralRe: calling another window from dialog box and display data Pin
Kiran Pinjala6-Aug-06 19:12
Kiran Pinjala6-Aug-06 19:12 
GeneralRe: calling another window from dialog box and display data [modified] Pin
With_problem6-Aug-06 19:27
With_problem6-Aug-06 19:27 
GeneralRe: calling another window from dialog box and display data Pin
Hamid_RT6-Aug-06 19:35
Hamid_RT6-Aug-06 19:35 
QuestionHow to disable one button in toolbar [modified] Pin
xuwenq885-Aug-06 18:01
xuwenq885-Aug-06 18: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.