/* People.h - example code for namespaces and Class arrays muh, CSE 374, 20sp */ #include #include namespace student374 { class Student { std::string name; int marks; public: void getName(); void getMarks(); void displayInfo(); }; void displayGreeting(); } namespace teacher374 { class Teacher { std::string title; public: Teacher(); // default constructor Teacher(std::string name); // parameterized constructor Teacher(const Teacher &origt); // copy constructor void getTitle(); void displayInfo(); friend std::ostream& operator<<(std::ostream& os, const Teacher& t1); }; void displayGreeting(); }