Modify your Student class to overload the following operators: ==, !=, <, >, <=, >= as member operators. The comparison operators will compare students by last name first name and id number. Also, overload << and >> as friend operators in the Student class. Overload << and >> operators in Roster class as well to output Rosters in a nice format as well as input Roster.Provide a function sort in a Roster class as a private function to sort out all the students in a Roster according to their Last Name, First Name, and Student id using the comparison operators that you overloaded in the Student class (We will go over a simple selection sort on integers either in the lab or the lecture). Overload << and >> operators in Date class that I provided for you.Change the date of birth and date of matriculation in the Student class from string to an instance of Date object. Change the functions and constructors in the Student class to set and get the Dates as Date objects rather than strings.Write a driver program to test your functions.Submit your homework to your lab instructor.
Class, CS211, following, Homework, modify, Operators, overload, solved, Student, your
[SOLVED] Cs211 homework 5 modify your student class to overload the following operators
$25
File Name: Cs211_homework_5__modify_your_student_class_to_overload_the_following_operators.zip
File Size: 744.18 KB
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.