Multithreading (Three Threads)
Hi everybody :)
I just need your help to teach me how can I programing this example.
Just explain and guide me to how to program , DON'T give me any solution please :p
OK, the idea of the program is a three threads they are working together synchronizing.
the first thread reading data - positive integer numbers - only from the keyboard, entered by a user to be stored in an array -dynamic array -
Assume that the array can hold all numbers entered without overflow.
second thread should read data from the array and write them into a file.
third thread should start reading the array data as well as the file data and display them on the screen in order.
please I want to understanding how programing this example.