Using Classes

1.Define the functions declared in Fight.h so that main.cpp produces results similar to when Fight.obj is included in the project

Three files are provided to you.

  • Main.cpp contains the driver that will run the declared functions to ensure they work properly, it does not need to be altered or submitted.
  • Fight.h contains the declarations and function prototypes related to the class, it does not need to be altered or submitted.
  • Fight.obj contains a compiled solution that will allow you to test existing functionality. It needs to be removed from your project for you to test your own implementation

There is a small example on Titanium of a project with similar file structure, simply add the three files to an empty C++ project and run. Notice how the .obj file and the .cpp file are occupying the same role, this is because the .obj file is just a compiled version of the .cpp source file. You will be supplying a .cpp file that defines all functions in Fight.H, just as Fight.obj does.

Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.