COS 1512 ASSIGNMENT 2
Johns Hopkins University
All 1 results
Sort by
-
COS 1512 ASSIGNMENT 2
- Exam (elaborations) • 8 pages • 2021
-
- $3.49
- + learn more
Question 1 
Consider the following structure used to keep record of a meeting: 
struct Meeting 
{ 
string speaker; 
string topic; 
string venue; 
string date; 
} 
Turn the meeting struct into a class. The class should have member variables for 
all the values in the corresponding struct. Make all member variables private. 
Include public member functions for each of the following: 
 a default constructor that sets the string data members to blank strings; 
 member functions to set each of ...
Get paid weekly? You can!
That summary you just bought made someone very happy. Also get paid weekly? Sell your study resources on Stuvia! Discover all about earning on Stuvia