You will make 3 files, one will be main.cpp, the other two will have the name of your object and will be a cpp and h file. If my object was a Car I would have

 

main.cpp

 

Car.cpp

 

Car.h

 

You will create properties and methods from the text file you turned in as your last homework. Your code will be about the object you chose, not a new object. Be as thorough as possible for a maximum score. If your class was a Car, then your AC on method should reduce the temperature property.

 

Your main file should call each of your public properties and public methods to demonstrate that you understand how to use classes.

 

    • 12 years ago
    Complete A++ Solutions
    NOT RATED

    Purchase the answer to view it

    • soccerplayer.zip