Monday, July 27, 2009

calling type like a method c++

struct contact_node
{
char * first_name;
char * last_name;
int phone_number;
char * address;
char * email;
int fax_number;
call_list calls_made;
contact_node * next;
};

trying to call member function through the type (call list) instead of through the variable (calls_made)

No comments:

Post a Comment