Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   pointer conversion.... (http://www.go4expert.com/forums/pointer-conversion-t10229/)

samuelwhalley 24Apr2008 23:21

pointer conversion....
 
Hi expert....

Is it OK to convert a pointer from a derived class to its base class? :shy:

Thanks for any reply.....

shabbir 25Apr2008 11:37

Re: pointer conversion....
 
Could not get you? Can you please explain a bit more.

asadullah.ansari 25Apr2008 12:17

Re: pointer conversion....
 
Quote:

Originally Posted by samuelwhalley
Hi expert....

Is it OK to convert a pointer from a derived class to its base class? :shy:

Thanks for any reply.....


You can check it
http://www.parashift.com/c++-faq-lit....html#faq-19.4


All times are GMT +5.5. The time now is 15:56.