Question: in C++. Pls help. Here is a main method with relevant items in bold that use the Pickup class to store 5 pickup lines and

Here is a main method with relevant items in bold that use the Pickup class to store 5 pickup lines and then print them out. Write the Pickup class, both the class definition and method implementation, so that the main method will run properly. The class only needs to be able to store 10 pickup lines. An attempt to add more than 10 pickup lines can be ignored. int main() } Pickup pickupLines; pickupLines.addLine ("I used to think love () was abstract, until you implemented it in MyHeart."); pickupLines.addLine ("You are my semicolon; always present in everything I do."); pickupLines.addLine ("You had me at Hello, world."); pickupLines.addLine ("Are you an exception? I bet I can catch you."); pickupLines.addLine ("Can you be my private variable? I want to be the only one with access to you."); for (int i = 0; i < pickupLines.getNumLines (); i++) cout < < pickupLines.getLine (i) < < endl; The output when this program runs should be: I used to think love () was abstract, until you implemented it in MyHeart. You are my semicolon; always present in everything I do. You had me at Hello, world. Are you an exception? I bet I can catch you. Can you be my private variable? I want to be the only one with access to you. Write the Pickup class definition and the implementation of the functions/constructors that will result in the output shown above.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
