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

C / C++ / MFC

 
GeneralRe: How can i chang the type of int to type of POSITION Pin
David Crow23-Aug-05 3:29
David Crow23-Aug-05 3:29 
GeneralRe: How can i chang the type of int to type of POSITION Pin
Christian Graus23-Aug-05 13:24
protectorChristian Graus23-Aug-05 13:24 
GeneralRe: How can i chang the type of int to type of POSITION Pin
David Crow23-Aug-05 16:40
David Crow23-Aug-05 16:40 
GeneralRe: How can i chang the type of int to type of POSITION Pin
Christian Graus23-Aug-05 16:52
protectorChristian Graus23-Aug-05 16:52 
GeneralRe: How can i chang the type of int to type of POSITION Pin
David Crow24-Aug-05 3:14
David Crow24-Aug-05 3:14 
GeneralRe: How can i chang the type of int to type of POSITION Pin
Christian Graus24-Aug-05 10:23
protectorChristian Graus24-Aug-05 10:23 
GeneralRe: How can i chang the type of int to type of POSITION Pin
David Crow24-Aug-05 10:40
David Crow24-Aug-05 10:40 
GeneralRe: How can i chang the type of int to type of POSITION Pin
Christian Graus24-Aug-05 10:52
protectorChristian Graus24-Aug-05 10:52 
DavidCrow wrote:
Why? That implies that those who do not know/use STL are lost. Can such a generalization be made?

Because I'm sure a LOT of people who use the MFC containers don't even know they are part of MFC. If I am used to using a language, and suddenly the part I try to use goes AWOL, I will be confused, and I'll need to find/learn an alternative. That's all I meant by 'lost'.

DavidCrow wrote:
Ok, but what if support for more than one compiler is not one of the requirements? Is that still a reason to use one over the other?

Yes, for the reasons I stated. Apart from the STL containers being *better*, they are also cross platform, you lose NOTHING by learning how to use them, and if you find yourself on a project that is on another platform, you'll already know how to use the containers there.

DavidCrow wrote:
For example.

It is bad practice IMO to tie yourself to a specific platform, which is not even universal in the Windows world, let alone the programming world at large, when the standard alternative is actually better. Microsoft did not intend for people to do this, either. Just like it's bad practice to pass char * around instead of using a string class, or FILE handles instead of a stream class, but people do it, because it's what they are used to, and they never stop to think of alternatives.


Christian Graus - Microsoft MVP - C++
AnswerRe: How can i chang the type of int to type of POSITION Pin
MailtoGops22-Aug-05 22:34
MailtoGops22-Aug-05 22:34 
GeneralDirectShow output buffer issue Pin
sashi_ua22-Aug-05 14:07
sashi_ua22-Aug-05 14:07 
GeneralMore linker errors Pin
Christian Graus22-Aug-05 13:33
protectorChristian Graus22-Aug-05 13:33 
GeneralRe: More linker errors Pin
Jose Lamas Rios22-Aug-05 16:53
Jose Lamas Rios22-Aug-05 16:53 
GeneralRe: More linker errors Pin
Christian Graus22-Aug-05 18:20
protectorChristian Graus22-Aug-05 18:20 
GeneralRe: More linker errors Pin
Jose Lamas Rios22-Aug-05 19:30
Jose Lamas Rios22-Aug-05 19:30 
GeneralRe: More linker errors Pin
Christian Graus22-Aug-05 19:36
protectorChristian Graus22-Aug-05 19:36 
GeneralRe: More linker errors Pin
Jose Lamas Rios22-Aug-05 20:06
Jose Lamas Rios22-Aug-05 20:06 
GeneralRe: More linker errors Pin
Christian Graus23-Aug-05 13:14
protectorChristian Graus23-Aug-05 13:14 
GeneralClistCtrl question Pin
Tom Wright22-Aug-05 12:54
Tom Wright22-Aug-05 12:54 
GeneralRe: ClistCtrl question Pin
Jose Lamas Rios22-Aug-05 17:02
Jose Lamas Rios22-Aug-05 17:02 
GeneralRe: ClistCtrl question Pin
Tom Wright23-Aug-05 4:57
Tom Wright23-Aug-05 4:57 
GeneralTrouble passing a class pointer to AfxBeingThread Pin
KnaveR77722-Aug-05 12:49
KnaveR77722-Aug-05 12:49 
GeneralRe: Trouble passing a class pointer to AfxBeingThread Pin
MailtoGops22-Aug-05 23:00
MailtoGops22-Aug-05 23:00 
GeneralQ about WINDBG Pin
valerie9922-Aug-05 12:41
valerie9922-Aug-05 12:41 
GeneralRe: Q about WINDBG Pin
Blake Miller23-Aug-05 4:28
Blake Miller23-Aug-05 4:28 
QuestionHow to use the WIN32API in MFC Application?? Pin
shanzy22-Aug-05 12:03
shanzy22-Aug-05 12:03 

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.