Explore BrainMass
Share

C++ Data Structures Overload Operator

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

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 December 20, 2018, 10:56 am ad1c9bdddf
https://brainmass.com/computer-science/cpp/data-structures-overload-operator-544486

Attachments

Solution Summary

A C++ program for operator overloading of == is provided.

$2.19