void Search(AddressBook tempbook) { string tempfirst; string templast; Contact* tempcontact; cout << "Please enter the first name: "; cin >> tempfirst; cout << endl; cout << "Please enter the last name: "; cin >> templast; cout << endl; tempbook.findContact(tempfirst,templast); tempcontact=NULL; }