Repository contains steps of creating WinApi application, which reads N values to txt file (N is given as parameter) and calculating average value of N numbers, finds minimum and maximum of the values.The program is generating N-numbers with time distance (seconds) provided by second parameter and it repeats as many times, as provided by third argument. The program have version A and B. Version A contains one thread for calculating average and finding minimum and maximum value. Verion B contains 3 threads responsible for calculating average and finding minimum and maximum value.
Example Usage with giving parameter:
MainProcess3args.exe 2 4 2
Program generates 2 numbers, 2 times within 4 seconds.