Create a class named Gamer that has a field for name(string) and a field for points(int).
Write a C++ class that will include the following operations:
Constructor(s): A Gamer object should be able to be declared either with no parameters (assign default calues of your choice) or with parameters (any string is legal, but points should not be allowed to go below 0).
Set functions: separate functions for each data member (again, any string is legal, but only non-negative integers for points)
Get functions: separate function for each data member (name and point)
Operators:
+ add the points of two Gamer objects and return an integer
+= add an integer into the first operand's points field
-= subtract an integer from the first operand's points field, storing the result back into the same field. If the value ends up being negative, store a value of 0 instead.
++ increment the Gamer object's points field by 1(both pre-increment and post-increment versions)
== compare the name and points field of one Gamer object to those of another. Return true if both are the same and false otherwise.
> compare the points field of one Gamer object to that of another. Return true if the first Gamer object's points field is larger and false otherwise.
>> read in a name and points values from the keyboard, check the points value, and store into private data
<< write out the name and points fields in some readable format