Question: In C++ Make class student contain name and birthday... class Student { private: string name; string month; string day; string year; public: ... }; Design

In C++ Make class student contain name and birthday... class Student { private: string name; string month; string day; string year; public: ... };

Design class Roster to contain a vector of students.

class Roster { private: vector students; public: ... }; 

In main() read a set of name and birthdays from the file students.in (until end-of-file) and populate students vector. Then iterate over the vector and print all students with current month (Apr) birthday.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!