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.
Seriss
0
Newbie Poster
Recommended Answers
Jump to Post>>. 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.
>>I just don't know how to make the 2 classes communicate.There are couple of ways.
…
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.