|
need hellp about thread!
Ok im talking about C++ here:
anyone know how to create a thread to updating a progress of a certain operation? for example.
a thread to shows the operation of counting number of words in a file. It's like a progress bar in games where u see the loading bar loading the game before the game starts. But for this program, we dont have to use some type of GUI to show, but just display out the "-" (hyphens) to show the progress.
I got everything done except the thread part, I dont know how to make the thread to update after show the first amount of progress. In another words, I have no idea how to make the thread to displays more hyphens after first one. if anyone could help thx.
|