Hi all,
i am a newb @ c++ since i just started this course in september
i want to ask a question about slowing down a program
is there like a command to do that??
i want it to display a "*" that moves left to right
i have tried alot of stuff and it still didnt work XD
here is my code that runs uber-fast
Code:int x = 1; do{ gotoxy(x,1); cout << "*" ; x ++; gotoxy(x - 1,1); cout << " " ; gotoxy(x,1); cout << "*" ; if( x == 81 ) { x = 1; } } while ( x != 0 ); system("PAUSE"); return (0);



LinkBack URL
About LinkBacks



