I agree with the user above. I do not see how you could achieve this and honestly, why would you want to do this? I am not trying to shoot your ideas down, I am just wanting to see how you are integrating this into an application.
I see.because in my project, there is a process to be done(convert video formats to mp3) then i would somehow like to inculcate a progress bar that would tell the user the current status of the file that is being converted.
there is a process to be done(convert video formats to mp3)
Is this a process/application you have made? If it is, then you do know the length of the video and at what stage the process is grabbing the audio track. That's the information you could pass "outside" your process.
You could time the conversion of files and just adjust the speed of the ProgressBar. This wouldn't show in real-time what the conversion is at but it would give the effect of the conversion progress. Of course, I wouldn't do this but if you are dead set on doing this, this would be a viable option.
the process is not that long as the length of the video
I put it slightly wrong. When you process the original file, you do know the length of the file and the position in the file you're processing. This is the information to pass out. Or to make it simple, pass out the percent (0-100) of the file processed.
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...