Slide 5.23: Unpack.h
Slide 6.2: A C++ program for sequential searches
Home

Record Access


When looking for an individual record, it is convenient to identify the record with a key based on the record's contents.
A key is a value used to identify a record in a file, derived by applying some fixed function to the record. The key is often simply one of the fields.
A Sequential Search
A sequential search reads through the file, record by record, looking for a record with a particular key. Assume the file Sequential.txt is where The following interface requests users to select a language and enter a URL and a key ISBN to find the record with the specified ISBN in the file.

  Select a Language and Enter a URL and an ISBN to Access the Record.

  Language:   C++   Unix shell

  URL:  

  ISBN:  





  Password: