Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionproblem regarding making of setup file Pin
simanto_iem23-Apr-06 10:27
simanto_iem23-Apr-06 10:27 
AnswerRe: problem regarding making of setup file Pin
ThatsAlok23-Apr-06 23:49
ThatsAlok23-Apr-06 23:49 
QuestionGetting the attributes of special items Pin
Atom23-Apr-06 9:45
Atom23-Apr-06 9:45 
AnswerRe: Getting the attributes of special items Pin
YaronNir23-Apr-06 22:13
YaronNir23-Apr-06 22:13 
QuestionShell Extension for application starting Pin
Samsung23-Apr-06 8:39
Samsung23-Apr-06 8:39 
AnswerRe: Shell Extension for application starting Pin
Michael Dunn23-Apr-06 17:04
sitebuilderMichael Dunn23-Apr-06 17:04 
QuestionReturn from CFrameView Create shuts down app Pin
Christopher J. Noyes23-Apr-06 6:27
Christopher J. Noyes23-Apr-06 6:27 
QuestionInheritance Pin
William Burton23-Apr-06 6:01
William Burton23-Apr-06 6:01 
Ive got a self made class called Vessel which is a base class for the classes Surface Vessel and Submarine.

The base class holds the data needed for both submarines and surface vessels and then the submarines and surface vessels have thier own data and functions.

Now i have tried to do a linked list where the data in the node is a "Vessel". I can pass a surface vessel or a submarine into this but when i try to get the data back out it loses the inherited class specificities (is that even a word? lol) so i can only access the Vessel data for that particular surface vessel or sub and not the particulars of that class. How can i put a surface vessel or sub into a type "vessel" and get the specific data out again or perhaps change the node data to a sv or sub on the fly?

Cheers

Bill


AnswerRe: Inheritance Pin
Nemanja Trifunovic23-Apr-06 6:50
Nemanja Trifunovic23-Apr-06 6:50 
QuestionRe: Inheritance Pin
William Burton23-Apr-06 7:19
William Burton23-Apr-06 7:19 
AnswerRe: Inheritance Pin
John R. Shaw23-Apr-06 11:54
John R. Shaw23-Apr-06 11:54 
QuestionRe: Inheritance Pin
William Burton23-Apr-06 12:17
William Burton23-Apr-06 12:17 
AnswerRe: Inheritance Pin
Stephen Hewitt23-Apr-06 13:46
Stephen Hewitt23-Apr-06 13:46 
QuestionRe: Inheritance Pin
William Burton23-Apr-06 15:16
William Burton23-Apr-06 15:16 
AnswerRe: Inheritance Pin
Stephen Hewitt23-Apr-06 16:09
Stephen Hewitt23-Apr-06 16:09 
QuestionRe: Inheritance Pin
William Burton24-Apr-06 0:18
William Burton24-Apr-06 0:18 
AnswerRe: Inheritance Pin
Stephen Hewitt24-Apr-06 1:38
Stephen Hewitt24-Apr-06 1:38 
GeneralRe: Inheritance Pin
David Crow24-Apr-06 2:59
David Crow24-Apr-06 2:59 
GeneralRe: Inheritance Pin
John R. Shaw29-Apr-06 20:29
John R. Shaw29-Apr-06 20:29 
GeneralRe: Inheritance Pin
David Crow1-May-06 2:51
David Crow1-May-06 2:51 
QuestionPrinter Font Question Pin
JKJKJK23-Apr-06 4:53
JKJKJK23-Apr-06 4:53 
AnswerRe: Printer Font Question Pin
Blake Miller26-Apr-06 7:46
Blake Miller26-Apr-06 7:46 
Questionhow can i pass a password to a shellexecute() to extract a zip file from my VC++6.0 program Pin
lekshmipriya23-Apr-06 2:49
lekshmipriya23-Apr-06 2:49 
AnswerRe: how can i pass a password to a shellexecute() to extract a zip file from my VC++6.0 program Pin
YaronNir23-Apr-06 3:33
YaronNir23-Apr-06 3:33 
QuestionRe: how can i pass a password to a shellexecute() to extract a zip file from my VC++6.0 program Pin
lekshmipriya23-Apr-06 4:00
lekshmipriya23-Apr-06 4:00 

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.