Question: hey guys, Need help making a class (called facebook) that has the first facebook user, which will be friended, and has them add up to

hey guys, Need help making a class (called facebook)

that has the first facebook user, which will be friended, and has them add up to 10 different friends.

I believe I can make the friends in a string or Profile^1.

Main program: Has to delete any user from the list of friends. I think I can store them in an array with the max of 10 in there. Then we want a function that can print all the friends. I need to be able to call that function even after we remove friends.

-Class template in the main program -Need a constructor that starts for a friend user or the number of friends. -A "AddFriend" function. -A "RemoveFriend" function (This will requrie an operator overloader if the user and array member are equal to each other) -A "PrintFriend" Function

thanks for any help

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!