May I ask you for help, how can I compare the elements of an array. I have to use threads, but I don't know much about it. For every 2 elements I create a thread and it compares them. The thread writes 0 in the element that is smaller and 1 in the element that is bigger. That's the algorithm but I don't know how to realize it as code. Can anyone help me, please?
smithfield 0 Newbie Poster
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.