SEARCHING
SEARCHING FUNCTION is used to find
the query according to the NAME OF THE BOOK and NAME OF THE AUTHOR.
First all the information is copied
from CP.txt to the array YASH [] by using COPYING () function.
For searching linear search is
used. Linear
search is a method for finding an element within a list. It sequentially
checks each element of the list until a match is found or the whole list has
been searched. In this case the loop will iterate until i<=top which is also
can be considered as EOF (End Of File)
Each name and
author are checked ,once a proper argument is found then the information Name
of the book, Name of Author, Publication, No of pages and no. of copies are
displayed.
code helped
ReplyDeleteI tried..but error occurred in code
ReplyDeletethis is not complete code for complete code please visit our other blogs.
DeleteThanks a lot...it helped
DeleteThanks alot
ReplyDeleteappreciate your hard work and effort ..good luck!!!
ReplyDelete