We have to use the overload operator operator == to compare to objects and we are to use operator !=. The rest of the program does as I ask it to. I will go ahead and the instructions given to us anyway to help better understand the question. I will also post my .cpp and .h files. I am writing the data to an outfile. Also, it MUST be a member function declared INSIDE the class throttle.
See the attached file.© BrainMass Inc. brainmass.com March 22, 2019, 1:36 am ad1c9bdddf
A C++ program for operator overloading of == is provided.