Can anyone tell me how to catch an exception thrown by dynamic_cast , typeid and new in C++ ?:sad:

See "C++ exception handling "in C++ tutorial

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.