Click here to Skip to main content
15,928,404 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Memory usage Pin
Stephen Hewitt30-Oct-06 12:06
Stephen Hewitt30-Oct-06 12:06 
QuestionCallback function Pin
PasNad30-Oct-06 2:13
PasNad30-Oct-06 2:13 
AnswerRe: Callback function Pin
Emilio Garavaglia30-Oct-06 2:53
Emilio Garavaglia30-Oct-06 2:53 
AnswerRe: Callback function Pin
Rage30-Oct-06 2:56
professionalRage30-Oct-06 2:56 
AnswerRe: Callback function Pin
Hamid_RT30-Oct-06 3:37
Hamid_RT30-Oct-06 3:37 
AnswerRe: Callback function Pin
Zac Howland30-Oct-06 3:38
Zac Howland30-Oct-06 3:38 
GeneralRe: Callback function Pin
PasNad30-Oct-06 14:06
PasNad30-Oct-06 14:06 
GeneralRe: Callback function Pin
Zac Howland31-Oct-06 5:02
Zac Howland31-Oct-06 5:02 
PasNad wrote:
does it mean that we can use callback instead of polymorphism and vise versa? and that both methods (callback and polymorphism) have actually the same philosophy?


Yes and no. Can either be used in the place of the other? Sure. Will the problem domain be more complicated if you choose the wrong one? Yes. Basically, you need to look at what you are trying to solve and evaluate the cost-benefit of different techniques. Callback functions are not a replacement for polymorphism (nor vice versa), just another option in the toolbox.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

Questionregistering a plugin Pin
saqib8230-Oct-06 1:58
saqib8230-Oct-06 1:58 
AnswerRe: registering a plugin Pin
albertino callientes30-Oct-06 2:28
albertino callientes30-Oct-06 2:28 
GeneralRe: registering a plugin Pin
saqib8230-Oct-06 2:32
saqib8230-Oct-06 2:32 
GeneralRe: registering a plugin Pin
led mike30-Oct-06 5:32
led mike30-Oct-06 5:32 
QuestionFunction Pointer or Class Pointer ? Pin
Mr.Brainley30-Oct-06 1:15
Mr.Brainley30-Oct-06 1:15 
AnswerRe: Function Pointer or Class Pointer ? Pin
Blake Miller30-Oct-06 3:55
Blake Miller30-Oct-06 3:55 
QuestionQuestion about list Box Pin
zizzzz30-Oct-06 0:40
zizzzz30-Oct-06 0:40 
AnswerRe: Question about list Box Pin
KarstenK30-Oct-06 0:52
mveKarstenK30-Oct-06 0:52 
AnswerRe: Question about list Box Pin
uday kiran janaswamy30-Oct-06 1:05
uday kiran janaswamy30-Oct-06 1:05 
GeneralRe: Question about list Box Pin
zizzzz30-Oct-06 1:18
zizzzz30-Oct-06 1:18 
GeneralRe: Question about list Box Pin
uday kiran janaswamy30-Oct-06 1:21
uday kiran janaswamy30-Oct-06 1:21 
GeneralRe: Question about list Box Pin
zizzzz30-Oct-06 1:36
zizzzz30-Oct-06 1:36 
GeneralRe: Question about list Box Pin
uday kiran janaswamy30-Oct-06 1:48
uday kiran janaswamy30-Oct-06 1:48 
GeneralRe: Question about list Box Pin
zizzzz30-Oct-06 2:16
zizzzz30-Oct-06 2:16 
AnswerRe: Question about list Box Pin
David Crow30-Oct-06 3:18
David Crow30-Oct-06 3:18 
GeneralRe: Question about list Box Pin
zizzzz30-Oct-06 3:23
zizzzz30-Oct-06 3:23 
QuestionHow to get the resources of parallel port on the system Pin
mt_samiei30-Oct-06 0:36
mt_samiei30-Oct-06 0:36 

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.