Well, the function player::read() does nothing but wasting memory. It should be a member function of struct info.
in class player you have to new (and later in the destructor delete) the array memb according to num and then you can display the whole thing. Either num is fixed or you provide the amount as a parameter to the constructor
Thanks all for the reply. I was able to display successfully. Instead of entering info. just 2 times can i use loop until user is satisfied entering info.