This project involves a simple program that will compare two pre-sorted lists. Each list may be hundreds of megs in size. Each list will contain only ascii strings up to 100 bytes in length. The program should compare lists A and B and output list C (or C, D, E, and F). List C will consist of one of the following (the program must include a switch, i.e. radio buttons):
Strings in list A that are not in list B.
Strings in list B that are not in list A.
Strings that are contained in both list A and list B.
Strings that are contained in either list A or list B.
The default is to create all four lists above during the same job.
No duplicate strings should appear in any output list.
Standard windows open and save boxes are required to allow selecting list A and B, and naming and saving output lists. Lists will be saved as ascii text files in windows format. Default output list names should be: List A, List B, etc.
Speed is not important. The program should frequently read and write data in relatively small blocks to conserve memory and allow for large file sizes. Output files should remain in the original sorted order. No input or output file will be larger than 2GB.
We will provide data for testing if necessary. We need this program as soon as possible.
I can do this in less than 2h, using the fastest possible algorithm. I'll debug the program until you're happy with it (if you find any bugs). I'll also give you the source code and a good review. Just take my bid! Razvan