C++ Programming Assignment
Can anyone help me out with this? I’m really stuck on this one,and I’m not sure how to do it. This is for my Computer ScienceClass. Specifics are below.
#7: Overloaded Operator Basics
In this assignment, you will practice defining and usingoverloaded operators.
Steps
- Modify your class that prints information about when it isconstructed/etc. so that it can be handed to cout.
- Allow objects of your class to be added together with the +operator
For Step 1, if your class has data members, this operation wouldprint the value of those members with code like:
const Foo f;
cout << f << endl;
Ensure that comments exist in
PayPal Gateway not configured
PayPal Gateway not configured