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 ...
Fear of missing out? Then don’t!
Do you wonder why so many students wear nice clothes, have money to spare and enjoy tons of free time? Well, they sell on Stuvia! Imagine your study notes being downloaded a dozen times for $15 each. Every. Single. Day. Discover all about earning on Stuvia