Click here to Skip to main content
15,907,236 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Stuck up with NULL character Pin
Member 75496021-Feb-08 8:53
Member 75496021-Feb-08 8:53 
GeneralRe: Stuck up with NULL character Pin
Ali Rafiee21-Feb-08 9:53
Ali Rafiee21-Feb-08 9:53 
GeneralRe: Stuck up with NULL character Pin
abhijitr21-Feb-08 23:12
abhijitr21-Feb-08 23:12 
AnswerRe: Stuck up with NULL character Pin
abhijitr22-Feb-08 3:30
abhijitr22-Feb-08 3:30 
GeneralRe: Stuck up with NULL character Pin
Ali Rafiee22-Feb-08 5:10
Ali Rafiee22-Feb-08 5:10 
GeneralRe: Stuck up with NULL character Pin
abhijitr27-Feb-08 21:35
abhijitr27-Feb-08 21:35 
GeneralAbout polymorphism.. Pin
rowdy_vc++20-Feb-08 23:22
rowdy_vc++20-Feb-08 23:22 
GeneralRe: About polymorphism.. [modified] PinPopular
CPallini20-Feb-08 23:47
mveCPallini20-Feb-08 23:47 
I give you a simple example:

Teacher object calls the LearnPolymorphism() method on two instances of Pupil. The first one one, say cleverPupil, that is really an instance of CleverPupil, calls readBook(goodOOPBook) to fulfill task. On the other hand, the second Pupil instance, say lazyPupil, instance of LazyPupil, implements the method in his own way, with a call to startAsking(hereAndThere)...

Both CleverPupil and LazyPupil inherit from Pupil hence Teacher is able to call virtual Pupil method LearnPolymorphism() on them. But, due to Polymorphism, Teacher obtains two quite distinct results from them.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


modified on Thursday, February 21, 2008 11:06 AM

GeneralRe: About polymorphism.. Pin
Rajkumar R21-Feb-08 0:03
Rajkumar R21-Feb-08 0:03 
GeneralRe: About polymorphism.. Pin
rowdy_vc++21-Feb-08 0:47
rowdy_vc++21-Feb-08 0:47 
GeneralRe: About polymorphism.. Pin
Rajkumar R21-Feb-08 1:02
Rajkumar R21-Feb-08 1:02 
GeneralRe: About polymorphism.. Pin
David Crow21-Feb-08 4:03
David Crow21-Feb-08 4:03 
Questionconvert color image to grayscale image ? Pin
gentleguy20-Feb-08 21:29
gentleguy20-Feb-08 21:29 
AnswerRe: convert color image to grayscale image ? Pin
Iain Clarke, Warrior Programmer20-Feb-08 22:06
Iain Clarke, Warrior Programmer20-Feb-08 22:06 
AnswerRe: convert color image to grayscale image ? Pin
CPallini20-Feb-08 22:16
mveCPallini20-Feb-08 22:16 
GeneralRe: convert color image to grayscale image ? Pin
Rajkumar R20-Feb-08 22:55
Rajkumar R20-Feb-08 22:55 
GeneralRe: convert color image to grayscale image ? Pin
CPallini20-Feb-08 23:22
mveCPallini20-Feb-08 23:22 
GeneralRe: convert color image to grayscale image ? [modified] Pin
Rajkumar R20-Feb-08 23:33
Rajkumar R20-Feb-08 23:33 
GeneralRe: convert color image to grayscale image ? Pin
CPallini21-Feb-08 0:02
mveCPallini21-Feb-08 0:02 
GeneralRe: convert color image to grayscale image ? Pin
Rajkumar R21-Feb-08 0:14
Rajkumar R21-Feb-08 0:14 
GeneralRe: convert color image to grayscale image ? Pin
gentleguy21-Feb-08 0:32
gentleguy21-Feb-08 0:32 
GeneralRe: convert color image to grayscale image ? Pin
Rajkumar R21-Feb-08 1:38
Rajkumar R21-Feb-08 1:38 
AnswerRe: convert color image to grayscale image ? Pin
swarup21-Feb-08 1:06
swarup21-Feb-08 1:06 
GeneralRe: convert color image to grayscale image ? Pin
gentleguy21-Feb-08 2:10
gentleguy21-Feb-08 2:10 
Questioncan't convert from int to int *? Pin
gentleguy20-Feb-08 21:14
gentleguy20-Feb-08 21:14 

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.