Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
How to use gotoxy
2 Réponses
0
gotoxy(x_value, y_value);
Then current console pointer goes to (x, y) co-ordinates on the screen which given as arguments..
This function is from conio.h header file. A deprecated header. Also Not from standards. I think this works only on Turbo C... So search in net for more info.
+ 1
void gotoxy(int x, int y){
COORD coord;
coord.x = x;
coord.y = y; setConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}
use this on your c code and run it on windows, and i suggest to leave that old turbo c++ if youre using gotoxy from that ide.