Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL in MFC projects, why??? Pin
Rob Caldecott13-Feb-06 4:03
Rob Caldecott13-Feb-06 4:03 
GeneralRe: STL in MFC projects, why??? Pin
Nemanja Trifunovic13-Feb-06 4:11
Nemanja Trifunovic13-Feb-06 4:11 
GeneralRe: STL in MFC projects, why??? Pin
Rob Caldecott13-Feb-06 4:14
Rob Caldecott13-Feb-06 4:14 
QuestionRe: STL in MFC projects, why??? Pin
David Crow13-Feb-06 7:12
David Crow13-Feb-06 7:12 
AnswerRe: STL in MFC projects, why??? Pin
Rob Caldecott13-Feb-06 7:34
Rob Caldecott13-Feb-06 7:34 
GeneralRe: STL in MFC projects, why??? Pin
David Crow13-Feb-06 8:06
David Crow13-Feb-06 8:06 
GeneralRe: STL in MFC projects, why??? Pin
Andre xxxxxxx13-Feb-06 4:14
Andre xxxxxxx13-Feb-06 4:14 
GeneralRe: STL in MFC projects, why??? Pin
Rob Caldecott13-Feb-06 4:25
Rob Caldecott13-Feb-06 4:25 
ABuenger wrote:
How is an iterator more flexible than the methods of the MFC container classes? Do you really like the it->second syntax?


Yes, I do. It is much nicer than GetNext/GetPrev! The whole iterator idea is inspired.

ABuenger wrote:
You can sort a CArray easily with qsort. qsort is already in the C-Runtime, so no need for an other library to do the same job.


Actually, you are relying on how a CArray works internally for qsort to work - if MS ever changes the internal representation of CArray, you're in trouble. Also, how about a custom sort? What if you have a CArray of custom classes and you want to sort on one member in particular? Easy in STL, not so using qsort. One reason I first looked at STL containers was because I was sick of writing custom sort handlers for different sorts of CArrays.

ABuenger wrote:
but if you have the MFC containers, why should you bother with an other set of containers?


Because STL containers are better. Using the right tools for the job is surely the best way to code is it not?
GeneralRe: STL in MFC projects, why??? Pin
Nemanja Trifunovic13-Feb-06 4:35
Nemanja Trifunovic13-Feb-06 4:35 
GeneralRe: STL in MFC projects, why??? Pin
BadKarma13-Feb-06 4:20
BadKarma13-Feb-06 4:20 
GeneralSTL and RTTI Pin
Andre xxxxxxx13-Feb-06 4:27
Andre xxxxxxx13-Feb-06 4:27 
GeneralRe: STL and RTTI Pin
Rob Caldecott13-Feb-06 4:31
Rob Caldecott13-Feb-06 4:31 
GeneralRe: STL and RTTI Pin
Rob Caldecott13-Feb-06 4:44
Rob Caldecott13-Feb-06 4:44 
GeneralRe: STL in MFC projects, why??? Pin
Stephen Hewitt13-Feb-06 16:43
Stephen Hewitt13-Feb-06 16:43 
GeneralRe: STL in MFC projects, why??? Pin
Trollslayer13-Feb-06 4:58
mentorTrollslayer13-Feb-06 4:58 
AnswerRe: STL in MFC projects, why??? Pin
Nemanja Trifunovic13-Feb-06 4:09
Nemanja Trifunovic13-Feb-06 4:09 
AnswerRe: STL in MFC projects, why??? Pin
BadJerry13-Feb-06 4:11
BadJerry13-Feb-06 4:11 
QuestionRe: STL in MFC projects, why??? Pin
David Crow13-Feb-06 8:11
David Crow13-Feb-06 8:11 
AnswerRe: STL in MFC projects, why??? Pin
BadJerry13-Feb-06 23:26
BadJerry13-Feb-06 23:26 
QuestionHow to encrypt .exe? Pin
Drca13-Feb-06 2:42
Drca13-Feb-06 2:42 
QuestionRe: How to encrypt .exe? Pin
David Crow13-Feb-06 3:13
David Crow13-Feb-06 3:13 
QuestionRe: How to encrypt .exe? Pin
Maximilien13-Feb-06 3:27
Maximilien13-Feb-06 3:27 
AnswerRe: How to encrypt .exe? Pin
Blake Miller13-Feb-06 4:25
Blake Miller13-Feb-06 4:25 
GeneralRe: How to encrypt .exe? Pin
Maximilien13-Feb-06 4:55
Maximilien13-Feb-06 4:55 
GeneralRe: How to encrypt .exe? Pin
ThatsAlok14-Feb-06 19:50
ThatsAlok14-Feb-06 19:50 

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.