codice:
#include <stdio.h>
#include <windows.h>

void gotoxy(int x, int y)
{
    COORD coor; 
    HANDLE hOutput; 
    hOutput = GetStdHandle(STD_OUTPUT_HANDLE); 
    coor.X = x; 
    coor.Y = y; 
    SetConsoleCursorPosition(hOutput,coor); 
}

int main()
{
...
...
gotoxy(10, 10);
printf("...
...
ora funziona