Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why C++ Instead of C? Pin
softwaremonkey5-Apr-12 21:22
softwaremonkey5-Apr-12 21:22 
AnswerRe: Why C++ Instead of C? Pin
CPallini5-Apr-12 21:36
mveCPallini5-Apr-12 21:36 
GeneralRe: Why C++ Instead of C? Pin
Erudite_Eric6-Apr-12 6:27
Erudite_Eric6-Apr-12 6:27 
GeneralRe: Why C++ Instead of C? Pin
Stefan_Lang17-Apr-12 2:34
Stefan_Lang17-Apr-12 2:34 
GeneralRe: Why C++ Instead of C? Pin
CPallini17-Apr-12 3:10
mveCPallini17-Apr-12 3:10 
AnswerRe: Why C++ Instead of C? Pin
Chris Losinger6-Apr-12 1:33
professionalChris Losinger6-Apr-12 1:33 
AnswerRe: Why C++ Instead of C? Pin
Member 19886-Apr-12 22:49
Member 19886-Apr-12 22:49 
AnswerRe: Why C++ Instead of C? Pin
jschell7-Apr-12 6:37
jschell7-Apr-12 6:37 
C++ is an object oriented (OO) programming language. C isn't.

OO has been widely accepted as a technological idiom hus it can be presumed to have merit. Arguments claiming it is popularity contest ignore the fact that there are many 'popular' technologies that have short runs and which are then abandoned or even outright condemned. So to the extent there is any objective criteria for picking a technology idiom OO seems to accepted as being better.

Although one can program using OO in C it requires a great deal more manual attention to detail and additional code than doing it in C++.

Both of those make it more likely that additional bugs will show up.

Even more worrisome at lot of that additional code will involve pointers. And pointer bugs in C (and C++) are some of the more difficult bugs to find and thus cost more to fix.

Of course one could just use structured programming rather than OO. Although having done OO for many years I find it extremely difficult to think in structured terms for anything more than trivial bits of code. And at one time I used to do structured programming so at least I know how to do it.
QuestionGraphic problem Pin
Brijesh_kumar5-Apr-12 7:58
Brijesh_kumar5-Apr-12 7:58 
QuestionRe: Graphic problem Pin
CPallini5-Apr-12 9:54
mveCPallini5-Apr-12 9:54 
AnswerRe: Graphic problem Pin
Richard MacCutchan5-Apr-12 22:23
mveRichard MacCutchan5-Apr-12 22:23 
QuestionDetermine if Win Explorer windows are open Pin
K4HVDs5-Apr-12 5:18
K4HVDs5-Apr-12 5:18 
AnswerRe: Determine if Win Explorer windows are open Pin
Richard MacCutchan5-Apr-12 6:21
mveRichard MacCutchan5-Apr-12 6:21 
GeneralRe: Determine if Win Explorer windows are open Pin
K4HVDs5-Apr-12 7:56
K4HVDs5-Apr-12 7:56 
GeneralRe: Determine if Win Explorer windows are open Pin
«_Superman_»5-Apr-12 16:55
professional«_Superman_»5-Apr-12 16:55 
AnswerRe: Determine if Win Explorer windows are open Pin
Chris Losinger5-Apr-12 8:40
professionalChris Losinger5-Apr-12 8:40 
AnswerRe: Determine if Win Explorer windows are open Pin
Randor 6-Apr-12 3:58
professional Randor 6-Apr-12 3:58 
Questionin dialog dll because of App class instance application being crashed Pin
appollosputnik4-Apr-12 20:19
appollosputnik4-Apr-12 20:19 
AnswerRe: in dialog dll because of App class instance application being crashed Pin
Code-o-mat4-Apr-12 21:31
Code-o-mat4-Apr-12 21:31 
GeneralRe: in dialog dll because of App class instance application being crashed Pin
appollosputnik5-Apr-12 0:31
appollosputnik5-Apr-12 0:31 
GeneralRe: in dialog dll because of App class instance application being crashed Pin
Code-o-mat5-Apr-12 0:49
Code-o-mat5-Apr-12 0:49 
AnswerRe: in dialog dll because of App class instance application being crashed Pin
Stephen Hewitt6-Apr-12 1:37
Stephen Hewitt6-Apr-12 1:37 
QuestionTool to identify Controls Pin
john56324-Apr-12 18:29
john56324-Apr-12 18:29 
AnswerRe: Tool to identify Controls Pin
Code-o-mat4-Apr-12 21:16
Code-o-mat4-Apr-12 21:16 
AnswerRe: Tool to identify Controls Pin
yu-jian6-Apr-12 18:22
yu-jian6-Apr-12 18:22 

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.