I have to write a program which uses 2 classes to load 2 dat files into arrays. I then have to somehow compare the IDs in array1 to the IDs in array2 to get the extra IDs out of array1. These extra IDs then have to be stored somewhere so they can be printed out at the end of the program. I also have to get these 2 classes to communicate somehow so it can use the hours from array2 and the pay from array1 to come up with a total pay amount. Any hints or clues on how to do any of that would be greatly appreciated. I already have the parts of the class for loading, sorting, and searching the arrays written. I just don't know how to make the 2 classes communicate.
Edited by Seriss: n/a