Click here to Skip to main content
15,884,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionreguired fast printing Pin
patilvaibhavrao7-Jul-16 20:39
patilvaibhavrao7-Jul-16 20:39 
AnswerRe: reguired fast printing Pin
Richard MacCutchan7-Jul-16 21:05
mveRichard MacCutchan7-Jul-16 21:05 
AnswerRe: reguired fast printing Pin
FriendOfAsherah7-Jul-16 22:25
FriendOfAsherah7-Jul-16 22:25 
AnswerRe: reguired fast printing Pin
leon de boer8-Jul-16 3:22
leon de boer8-Jul-16 3:22 
AnswerRe: reguired fast printing Pin
Patrice T8-Jul-16 10:42
mvePatrice T8-Jul-16 10:42 
QuestionOverloading methods with identical content in lot of derived classes Pin
FriendOfAsherah7-Jul-16 19:38
FriendOfAsherah7-Jul-16 19:38 
QuestionRe: Overloading methods with identical content in lot of derived classes Pin
CPallini7-Jul-16 21:09
mveCPallini7-Jul-16 21:09 
AnswerRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah7-Jul-16 21:54
FriendOfAsherah7-Jul-16 21:54 
some history I found out:
they had a collection of B*
C++
typedef vector<B*> arrayB


then they stored Ca1* ... Can* in such a collection later they stored Cc1* ... Ccn* in such a collection because all derived from B ...

C++
arrayB1 my_collection;
my_collection.push_back(Cc1* ... ) //... etc

this is valid because the Cc´s are derived from B
B<--Cc1 , ...

if it is a B* the B::M1() was called
if it is a Ca1*, ...Can* the B::M1() was called
if it is a Cb1*, ...Cbn* the B::M1() was called
But if it is a Cc1*, ...Ccn* the overloaded Cc1::M1() etc. of the derived classes were called and do something different than the B::M1()

I dont know further what its good for, but its the way it was it was implemented
QuestionRe: Overloading methods with identical content in lot of derived classes Pin
CPallini7-Jul-16 22:37
mveCPallini7-Jul-16 22:37 
AnswerRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah7-Jul-16 22:51
FriendOfAsherah7-Jul-16 22:51 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
CPallini7-Jul-16 23:37
mveCPallini7-Jul-16 23:37 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah8-Jul-16 3:45
FriendOfAsherah8-Jul-16 3:45 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
CPallini8-Jul-16 9:00
mveCPallini8-Jul-16 9:00 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah10-Jul-16 20:16
FriendOfAsherah10-Jul-16 20:16 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
ellegonzalez18-Aug-16 22:59
ellegonzalez18-Aug-16 22:59 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
leon de boer8-Jul-16 3:01
leon de boer8-Jul-16 3:01 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah8-Jul-16 3:47
FriendOfAsherah8-Jul-16 3:47 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
leon de boer8-Jul-16 18:25
leon de boer8-Jul-16 18:25 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah10-Jul-16 20:32
FriendOfAsherah10-Jul-16 20:32 
AnswerRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah13-Jul-16 0:45
FriendOfAsherah13-Jul-16 0:45 
AnswerRe: Overloading methods with identical content in lot of derived classes Pin
Krishnakumartg19-Jul-16 20:14
Krishnakumartg19-Jul-16 20:14 
GeneralRe: Overloading methods with identical content in lot of derived classes Pin
FriendOfAsherah19-Jul-16 23:06
FriendOfAsherah19-Jul-16 23:06 
QuestionCMFCRibbonBar High DPI Pin
Paul Harrison 26-Jul-16 7:12
Paul Harrison 26-Jul-16 7:12 
QuestionInternet Explorer Pin
Member 125311295-Jul-16 2:58
Member 125311295-Jul-16 2:58 
AnswerRe: Internet Explorer Pin
Chris Losinger5-Jul-16 5:12
professionalChris Losinger5-Jul-16 5:12 

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.