Make a sample program using gotoxy function.
#include <stdio.h>
#include <windows.h>
int main()
{
// Input data
COORD c;
c.X = 40;
c.Y = 16;
SetConsoleCursorPosition(
GetStdHandle(STD_OUTPUT_HANDLE), c);
printf("gotoxy() ");
getch();
}
Comments
Leave a comment