Using C ++, the Qt library, and Qt Creator, create a program that will allow you to perform time-consuming background calculations.
The application must allow pause or complete cancellation of the performed calculation (the following calculation must not restrict the application). Both calculations can run at the same time!
The progress of the calculation will be indicated with progress bar.
- recursive / iterative calculation of factorial from (any large) integer
- sequential algorithm of the Sieve of Eratosthenes to search for prime numbers on a specified range of integers.
10 freelancer đang chào giá trung bình €51 cho công việc này
hi, I`v rich experiences of Qt Creator! But I have some questions, so Have I selected only 2 algorithm for time-consuming background calculations? If I can select other calculation, how about? very regards
I can implement this task using Qt child/worker threads and use signal-slots for updating progress bar in parent gui thread. You will be able to pause/cancel the worker thread. Looking forward to working with you.