Status
Not open for further replies.
hi
i would like to know:
1. How to program a progressbar in dos for C++, not visual c++(like the old scandisk progressbars, remember?)
2.is there any tutorial for c++, covering classes, and file handling?
3.is there any ebooks(legal or illegal) tutorials for visual c++?
 

tuxfan

Technomancer
You will need to write some code to have a progress bar in C++ for DOS. Do you want the logic steps?
 

hafees

In the zone
Write a class for the progressbar. u should manually do the following things
save the screen under the progressbar
use a good ascii character as the symbol
update the progressbar
restore the screen
etc...
dont get disappointed. try to do it. We can help u
 

NikhilVerma

Padawan
I made a class for prograssbarin GUI for my XII project...

It quite resembled WindowsXP's progress bar...

But unfortunately it was in the College's HDD only...
 
i did it!

thx guys for all the help, i finally did it:
this was how:

1.put a textbackground color,
2.set a text color different from background
3.inside a loop(depends on length of progressbar) print " "(a space) that will be in the color u wanted, then use the delay function in dos.h,

thats it, it worked!
 
Status
Not open for further replies.
Top Bottom