Chapter 13: Problem 8
Consider the following declaration: class strange a. Write a statement that shows the declaration in the class strange to overload the operator >>. b. Write a statement that shows the declaration in the class strange to overload the operator =. c. Write a statement that shows the declaration in the class strange to overload the binary operator + as a member function. d. Write a statement that shows the declaration in the class strange to overload the operator == as a member function. e. Write a statement that shows the declaration in the class strange to overload the post-increment operator ++ as a member function
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.