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 ...
As you read this, a fellow student has made another $4.70
How did he do that? By selling his study resources on Stuvia. Try it yourself! Discover all about earning on Stuvia