The progrqm has to be in c++, please without empty constructor Create a lecturer class with member -data name (name) and department (department). For the Lecturer class, write constructors, get & set methods, and the toString () method, which returns the textual description of the object. Write a Lecture class with data member: - subject (discipline) - weekday (day of the week when it takes place) - hour (start time, integer) - online (boolean value, whether remote or not) - lecturer (object of class Lecturer) For the Lecture class, write: - constructors- get & set methods - method isItMorning (), returning a Boolean value, the result of checking whether the lecture starts at 7-11 - give a new implementation of the toString () method so that it returns the text description of the Lecture object In the test function main () 1. Create objects of both classes and illustrate the use of all possible methods for them.
The progrqm has to be in c++, please without empty constructor
Create a lecturer class with member
-data name (name) and department (department).
For the Lecturer class, write constructors, get & set methods, and the toString () method, which returns the textual description of the object.
Write a Lecture class with data member:
- subject (discipline)
- weekday (day of the week when it takes place)
- hour (start time, integer)
- online (boolean value, whether remote or not)
- lecturer (object of class Lecturer)
For the Lecture class, write:
- constructors- get & set methods
- method isItMorning (), returning a Boolean value, the result of checking whether the lecture starts at 7-11
- give a new implementation of the toString () method so that it returns the text description of the Lecture object
In the test function main ()
1. Create objects of both classes and illustrate the use of all possible methods for them.
2. Create an array of Lecture objects and display it on the screen and in a file.
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 5 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![New Perspectives on HTML5, CSS3, and JavaScript](https://www.bartleby.com/isbn_cover_images/9781305503922/9781305503922_smallCoverImage.gif)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)