
- Forum
- Programming Talk
- C and C++
- Track how much copied
Track how much copied
This is a discussion on Track how much copied within the C and C++ forums, part of the Programming Talk category; I have task for copying numerous files using my C program. I have written program for this task and it ...
-
Track how much copied
I have task for copying numerous files using my C program. I have written program for this task and it is working fine. But the task I am struck up is I want to put a progress bar to track the percentage of files copied. Can someone give me idea for doing this task? If some guideline is provided for achieving this task it would help me a lot.
-
06-28-2007, 04:31 PM #2
- Join Date
- Apr 2006
- Answers
- 124
The logic is you can follow for showing progressing of the progress bar could be as follows. The logic is given for showing progressing at folder level. So I could suggest you to count the number of files present in the particular folder for which the progressing is to be monitored. Then you could go with a looping process and copy each field present in the folder separately and once each file is copied successfully increment the looping structure by 100/n of step. This is because I have assumed that you are going to show the progressing of copying fields in percentage. For displaying the progress bar you could use graphics concept in C programming and achieve the same.

Reply With Quote





