How do i get what my pointer is pointing to, as in either plate or post? And then I have to deference or downcasting to the value before executing a the line of code to print out its attributes. I do not know how to do downcasting and online explanations doesnt help much so it might have to be deference and then if and else statement before printing out? HELP PLEASE!!!
list<geometric_solid*> solids;
FULL code can be found here: http://www.dreaminco...nked-list-help/
This post has been edited by infanity: 21 October 2010 - 10:52 AM

New Topic/Question
This topic is locked




MultiQuote




|