Question: LANGUAGE C++ Q5: Continue with Word class: a) Copy the previous program to a new file. b) Overload the operator > to output boolean, with
LANGUAGE C++
Q5: Continue with Word class: a) Copy the previous program to a new file. b) Overload the operator > to output boolean, with auto conversion. c) Overload the operator >= to output boolean, with auto conversion. d) Overload the operator friend bool operator> friend bool operator friend bool operator friend bool operator=- friend bool operatorl= } Use following main() to test your class. int main() { Word a("abc"), b("def"); string c = "abc"; coutb)c)b)=C)a)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
