Assignment 11 - Arrays, Sorting and Searching

due December 9th

The purpose of this assignment is to give you practice working with arrays, passing them to functions, sorting, searching and reading and writing text files.

In this program you will read two files and store their contents in arrays.  You will sort both arrays, and then search an array for each element of the second array.

Program Steps

Input files

Output Details

Required console output

Number of keywords not found = ??   <= the number is between 20 and 30

Required file output

keyword not found: alignas
keyword not found: alignof
keyword not found: and_eq
keyword not found: asm
keyword not found: bitand
keyword not found: bitor
keyword not found: char16_t
keyword not found: char32_t
keyword not found: compl
keyword not found: const_cast

Additional Requirements

Six points of this assignment will be used for program style.  For this, you will be graded on the following criteria:
  1. Following instructions
  2. Consistent and readable program format
  3. Accuracy of output format
  4. Choice of variable names
  5. Not using global variables
  6. Checking for and handling file open errors