Searching a Name in C phone book

coool's Avatar
Go4Expert Member
Hi

I'm trying to search a first name and a last name in a c phone book

/* *ppCur should point to the found entry or the successor if the entry is not found */
/* compare lastname and firstname fields to the variables of the same name to find the*/
/* appropriate entry */
/* return 1 if found and 0 if not */
int SearchName(NODE **ppCur, char *lastname, char *firstname)

anyone can give me any clue ?
0
DaWei's Avatar, Join Date: Dec 2006
Team Leader
The free homework store is two doors down. This is the free help store. We help those who break a sweat in an attempt to do their own work. While you're here, have a read.