¡@

Home 

c++ Programming Glossary: name_pairs

cannot call member function without object

http://stackoverflow.com/questions/1127738/cannot-call-member-function-without-object

Here is the code. #include std_lib_facilities.h class Name_pairs public bool test void read_names void read_ages void print private.. names vector double ages string name double age void Name_pairs read_names cout Enter name cin name names.push_back name cout.. Enter name cin name names.push_back name cout endl void Name_pairs read_ages cout Enter corresponding age cin age ages.push_back..