Question: in C++ Declare a class Dragon. The class should contain appropriately typed data fields for name,age,size, cave and collection of previous victims, include prototypes for

in C++ Declare a class Dragon. The class should contain appropriately typed data fields for name,age,size, cave and collection of previous victims, include prototypes for three member functions of Dragon. The first being an appropriate constructor. The second displaying the name, age ,size and cave, and the third displaying the victim history. Write the implementation of the constructor and the personal details function, but NOT of the victim history function.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!