Question: (Use c++ code please) Problem 4. (20 pts total) A Twitter is an object where Tweet messages are stored. Consider the following class interface: class

(Use c++ code please)
 (Use c++ code please) Problem 4. (20 pts total) A Twitter

Problem 4. (20 pts total) A Twitter is an object where Tweet messages are stored. Consider the following class interface: class Twitter public: Twitter creates an empty Twitter void add (Tweet newmessage) adds new Tweets to the vector messages tweets Tweet get tweets (string subject); returns the Tweet with that subject private: vector Tweet messages i Using the class Tweet from Problem 4, provide solutions to the following: (a) Write the addtweet function which adds a new Tweet message (newmessage) to the vector messages. the member function gettweet which returns the frst message in the messages which has the subject equal to the parameter subject

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!