Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Searching a Name in C phone book (http://www.go4expert.com/forums/searching-c-phone-book-t5843/)

coool 14Aug2007 03:59

Searching a Name in C phone book
 
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 ?

DaWei 14Aug2007 06:02

Re: Searching a Name in C phone book
 
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.


All times are GMT +5.5. The time now is 09:34.