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 ...
Want to regain your expenses?
How much did you already spend on Stuvia? Imagine there are plenty more of you out there paying for study notes, but this time YOU are the seller. Ka-ching! Discover all about earning on Stuvia