![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2004
Posts: 2
Rep Power: 0
![]() |
hi
i need old fashioned console rotating of "|" and "-" at same position, wondering if can printf "char | and \b and char - " or use curses but without usefull result can u help me plz ? |
|
|
|
|
|
#2 |
|
Programming Guru
![]() ![]() ![]() |
should be able to use the gotoxy function
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Oct 2004
Posts: 2
Rep Power: 0
![]() |
You can use gotoxy(x,y) and cprintf/printf/cout whatever with following characters: - \ | / -
Like: enum _any('-','\','|','/','-'); i=0; while(1) { gotoxy(5,10); i=i++%5;; printf("%c",_any[i]); } and if you want to show process development, you can also increment x with each loop call and the gotoxy(x,y); |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Oct 2004
Posts: 2
Rep Power: 0
![]() |
THANKS A LOT !!!
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|