Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDecompression Pin
Jawache25-Oct-02 4:55
Jawache25-Oct-02 4:55 
GeneralRe: Decompression Pin
Ravi Bhavnani25-Oct-02 7:17
professionalRavi Bhavnani25-Oct-02 7:17 
GeneralArobat isn't closing Pin
pnpfriend25-Oct-02 4:10
pnpfriend25-Oct-02 4:10 
GeneralRe: Arobat isn't closing Pin
l a u r e n25-Oct-02 4:20
l a u r e n25-Oct-02 4:20 
GeneralRe: Arobat isn't closing Pin
pnpfriend25-Oct-02 4:29
pnpfriend25-Oct-02 4:29 
GeneralRe: Arobat isn't closing Pin
pba_25-Oct-02 11:40
pba_25-Oct-02 11:40 
GeneralpDlg->Create() hell in a dll Pin
Rohit  Sinha25-Oct-02 3:46
Rohit  Sinha25-Oct-02 3:46 
GeneralRe: pDlg->Create() hell in a dll Pin
User 665825-Oct-02 6:38
User 665825-Oct-02 6:38 
GeneralRe: pDlg->Create() hell in a dll Pin
Ravi Bhavnani25-Oct-02 7:11
professionalRavi Bhavnani25-Oct-02 7:11 
GeneralRe: pDlg->Create() hell in a dll Pin
Rohit  Sinha25-Oct-02 9:14
Rohit  Sinha25-Oct-02 9:14 
GeneralRe: pDlg->Create() hell in a dll Pin
Ravi Bhavnani25-Oct-02 9:33
professionalRavi Bhavnani25-Oct-02 9:33 
GeneralReadDirectoryChangesW() on a network drive Pin
Juan Carlos SM25-Oct-02 3:14
Juan Carlos SM25-Oct-02 3:14 
GeneralRe: ReadDirectoryChangesW() on a network drive Pin
Joel Lucsy25-Oct-02 3:34
Joel Lucsy25-Oct-02 3:34 
GeneralRe: ReadDirectoryChangesW() on a network drive Pin
Juan Carlos SM25-Oct-02 3:45
Juan Carlos SM25-Oct-02 3:45 
QuestionHow to send a customer HTTP request to a Web Server? Pin
George225-Oct-02 3:08
George225-Oct-02 3:08 
AnswerRe: How to send a customer HTTP request to a Web Server? Pin
Todd Smith25-Oct-02 6:55
Todd Smith25-Oct-02 6:55 
Questionhow to use a bmp in a toolbar button Pin
ns25-Oct-02 2:59
ns25-Oct-02 2:59 
GeneralGeneral C++ Inheritance Question Pin
Haakon S.25-Oct-02 2:11
Haakon S.25-Oct-02 2:11 
GeneralRe: General C++ Inheritance Question Pin
Maximilien25-Oct-02 2:32
Maximilien25-Oct-02 2:32 
GeneralRe: General C++ Inheritance Question Pin
Joaquín M López Muñoz25-Oct-02 2:49
Joaquín M López Muñoz25-Oct-02 2:49 
GeneralRe: General C++ Inheritance Question Pin
Haakon S.25-Oct-02 3:55
Haakon S.25-Oct-02 3:55 
GeneralRe: General C++ Inheritance Question Pin
Joaquín M López Muñoz25-Oct-02 4:27
Joaquín M López Muñoz25-Oct-02 4:27 
GeneralRe: General C++ Inheritance Question Pin
Maximilien25-Oct-02 4:36
Maximilien25-Oct-02 4:36 
GeneralRe: General C++ Inheritance Question Pin
Joe Woodbury25-Oct-02 6:52
professionalJoe Woodbury25-Oct-02 6:52 
How about adding copy constructors for in each class for the opposite type like you suggest.

Another method, which I just did, is combine them and add a bool (or enum) stating which animal it is. (Okay, it's ugly but in my case, I needed only one "cat" for every 10 "dogs" and the difference was that the "cat" required two less data members than "dog", but was otherwise identical, so it isn't exactly similar.)
GeneralMicrosoft SDK and VC++ integration question. Pin
Michael Liu25-Oct-02 2:09
Michael Liu25-Oct-02 2:09 

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.