👤

g update the readposts function from project 2 part 1 to now be a member function for the buffchat class. the readposts function populates an array of post objects with the post body, post author, likes, and date from an external file. the array of post objects is one of the data members of the buffchat class. this function should: