Skip to content

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.

Notifications You must be signed in to change notification settings

WeronikaMarciniak/Operating-Systems---WinApi-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Operating-Systems---WinApi-Lab

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.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages