How can i make a betting method in horse racing cpp oop


Problem

How can I make a betting method in horse racing C++ OOP and OOD design? I need an example or the code itself to understand how it works. I understand the logic but C++ is a new language to me and I need to compile this soon. I have 5 files; horse.h, horse.cpp, race.h, race.cpp and the main.cpp. I'm assuming you know that the header files detail the attributes and prototype functions and the cpp files contain the methods of the classes. There is a horse and race class. The main.cpp utilizes the Race class to execute the program. The race.h file includes the horse.h and race.cpp file uses the race.h file. The main.cpp only requires the (include) the race.h file. I need help designing and building a betting method. I got an answer not too long ago, and they said I need to utilize a player.cpp and a player.h file and implement those methods but I'm still lost.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: How can i make a betting method in horse racing cpp oop
Reference No:- TGS03311526

Expected delivery within 24 Hours