Avevo postato tempo un fa per chiedere aiuto sul comando gotoxy, mi avevate consigliato di usare: SetConsoleCursorPosition. Che in msnd.com spiega cosi:
BOOL WINAPI SetConsoleCursorPosition(
HANDLE hConsoleOutput,
COORD dwCursorPosition
);
Parameters
hConsoleOutput
[in] Handle to a console screen buffer. The handle must have the GENERIC_READ access right. For more information, see Console Buffer Security and Access Rights.
dwCursorPosition
[in] A COORD structure that specifies the new cursor position, in characters. The coordinates are the column and row of a screen buffer character cell. The coordinates must be within the boundaries of the console screen buffer.
Il problema e che non ho ben capito come funziona...
Ultima modifica effettuata da skirk il 30/08/2006 alle 8:11 |