Update dynamic_casting.cpp