C++ Polymorphic Functions

Need this instantly
*provided Code* Using this as a base class create a derived class called weapon. This class should have an additional data member named purpose. Create polymorphic functions for reading a weapon record from a file weapons.dat *provided* and for displaying weapon data on screen. In these two polymorphic functions use the base class version
to read or display the inherited data members and add code to read or display the additional data member.
Create a non class function …

Leave a Reply

Your email address will not be published. Required fields are marked *