Hi,
I am learning C++ and came across the topic dynamic_cast. I was able to understand what dynamic_cast means and syntax through sample examples in "C++ Complete Reference book".
But I could not make out the uses of dynamic_cast. One of the things we can do is cast derived pointer to Base pointer. When will such a scenario occur, can anyone who knows please explain me the application of dynamic_cast .
Thanks
cjjoy



LinkBack URL
About LinkBacks



CornedBee