Click here to Skip to main content
15,909,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCBitmapDialog Pin
Andy Latham4-Feb-02 7:29
Andy Latham4-Feb-02 7:29 
GeneralRe: CBitmapDialog Pin
Joaquín M López Muñoz4-Feb-02 7:49
Joaquín M López Muñoz4-Feb-02 7:49 
GeneralXML Parsing Pin
Nnamdi Onyeyiri4-Feb-02 7:08
Nnamdi Onyeyiri4-Feb-02 7:08 
GeneralRe: XML Parsing Pin
Matt Philmon4-Feb-02 7:27
Matt Philmon4-Feb-02 7:27 
GeneralRe: XML Parsing Pin
Nemanja Trifunovic4-Feb-02 7:39
Nemanja Trifunovic4-Feb-02 7:39 
GeneralRe: XML Parsing Pin
4-Feb-02 20:31
suss4-Feb-02 20:31 
GeneralAdd-In for Visual Studio (Visual C) Pin
4-Feb-02 6:17
suss4-Feb-02 6:17 
GeneralBasic OOP Question Pin
AJ1234-Feb-02 6:12
AJ1234-Feb-02 6:12 
I have two object which i want treated the same.

A parent object is going to have a pointer member varible, which will either point to one of the objects or the other. I intended on achieving this by creating a header which defined a virtual interface from which the 2 objects inherit. Allowing the parent object to call standard member function present in both.

My problem is that one function present in both the child objects required different parameters.


How can i achieve this?

Cheers

Rich

GeneralRe: Basic OOP Question Pin
Joaquín M López Muñoz4-Feb-02 6:24
Joaquín M López Muñoz4-Feb-02 6:24 
GeneralRe: Basic OOP Question Pin
AJ1237-Feb-02 1:23
AJ1237-Feb-02 1:23 
GeneralRe: Basic OOP Question Pin
Joaquín M López Muñoz7-Feb-02 2:13
Joaquín M López Muñoz7-Feb-02 2:13 
GeneralAvailable Comm Ports Pin
Steve Thresher4-Feb-02 6:12
Steve Thresher4-Feb-02 6:12 
GeneralRe: Available Comm Ports Pin
Rick York4-Feb-02 6:44
mveRick York4-Feb-02 6:44 
GeneralRe: Available Comm Ports Pin
Steve Thresher5-Feb-02 2:10
Steve Thresher5-Feb-02 2:10 
QuestionRestrictions of TreeControl under XP [or just another XP bug]? Pin
Andreas Saurwein4-Feb-02 5:56
Andreas Saurwein4-Feb-02 5:56 
QuestionWhat does an object REALLY look like? Pin
Jamie Hale4-Feb-02 5:51
Jamie Hale4-Feb-02 5:51 
AnswerRe: What does an object REALLY look like? Pin
Joaquín M López Muñoz4-Feb-02 6:04
Joaquín M López Muñoz4-Feb-02 6:04 
GeneralRe: What does an object REALLY look like? Pin
Jamie Hale4-Feb-02 6:32
Jamie Hale4-Feb-02 6:32 
GeneralRe: What does an object REALLY look like? Pin
Joaquín M López Muñoz4-Feb-02 7:25
Joaquín M López Muñoz4-Feb-02 7:25 
GeneralRe: What does an object REALLY look like? Pin
Jamie Hale4-Feb-02 7:56
Jamie Hale4-Feb-02 7:56 
GeneralRe: What does an object REALLY look like? Pin
4-Feb-02 8:05
suss4-Feb-02 8:05 
GeneralRe: What does an object REALLY look like? Pin
Jamie Hale4-Feb-02 9:34
Jamie Hale4-Feb-02 9:34 
GeneralRe: What does an object REALLY look like? Pin
Joaquín M López Muñoz4-Feb-02 8:20
Joaquín M López Muñoz4-Feb-02 8:20 
GeneralRe: What does an object REALLY look like? Pin
Jamie Hale4-Feb-02 9:12
Jamie Hale4-Feb-02 9:12 
GeneralRe: What does an object REALLY look like? Pin
Joaquín M López Muñoz4-Feb-02 9:22
Joaquín M López Muñoz4-Feb-02 9: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.