Click here to Skip to main content

C / C++ / MFC

 
GeneralRe: system() in MFC PinmemberStephen Hewitt21-Feb-13 15:55 
GeneralRe: system() in MFC PinmemberGarth J Lancaster21-Feb-13 16:03 
AnswerRe: system() in MFC PinmemberRajesh R Subramanian21-Feb-13 20:17 
AnswerRe: system() in MFC PinmvpRichard MacCutchan21-Feb-13 23:30 
GeneralRe: system() in MFC PinmemberAlbert Holguin24-Feb-13 8:38 
QuestionDoubt in c++ PinmemberJackkrishjk21-Feb-13 1:17 
AnswerRe: Doubt in c++ PinmvpRichard MacCutchan21-Feb-13 2:26 
AnswerRe: Doubt in c++ PinmemberAlan Balkany21-Feb-13 5:33 
They allow polymorphism, where derived classes can provide different behavior for the same function calls.
 
For example, a Shape class can have a virtual getArea () method.
 
Derived classes (like Circle, Square, etc...) will provide different implementations of getArea (), which use different formulas for the area calculation. Thus, you can call getArea () on a Shape object, regardless of which concrete derived class it represents, and you'll get the correct area.
GeneralRe: Doubt in c++ PinmemberSCProrammer21-Feb-13 6:31 
AnswerRe: Doubt in c++ PinmemberDavidCrow21-Feb-13 6:56 
AnswerRe: Doubt in c++ PinmemberMaximilien21-Feb-13 9:28 
QuestionTracing Exceptions Originated from Other Application PinmemberShubha Debnath21-Feb-13 1:05 
AnswerRe: Tracing Exceptions Originated from Other Application PinmemberAlan Balkany21-Feb-13 5:35 
GeneralRe: Tracing Exceptions Originated from Other Application PinmemberShubha Debnath22-Feb-13 1:29 
GeneralRe: Tracing Exceptions Originated from Other Application PinmemberAlan Balkany22-Feb-13 5:01 
GeneralRe: Tracing Exceptions Originated from Other Application PinmemberShubha Debnath22-Feb-13 21:32 
GeneralRe: Tracing Exceptions Originated from Other Application PinmvpRichard MacCutchan23-Feb-13 0:03 
QuestionCoCreateInstance fail for 64 bit Pinmemberjohn563220-Feb-13 22:46 
QuestionRe: CoCreateInstance fail for 64 bit PinmvpRichard MacCutchan20-Feb-13 23:43 
AnswerRe: CoCreateInstance fail for 64 bit Pinmemberjohn563221-Feb-13 0:32 
GeneralRe: CoCreateInstance fail for 64 bit PinmvpRichard MacCutchan21-Feb-13 0:58 
GeneralRe: CoCreateInstance fail for 64 bit Pinmemberjohn563221-Feb-13 1:45 
GeneralRe: CoCreateInstance fail for 64 bit PinmvpRichard MacCutchan21-Feb-13 2:19 
GeneralRe: CoCreateInstance fail for 64 bit PinmemberJochen Arndt21-Feb-13 1:53 
GeneralRe: CoCreateInstance fail for 64 bit PinmemberChris Losinger22-Feb-13 5:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150301.1 | Last Updated 1 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid