Thread
:
gotoxy() in visual C++ 1.5
View Single Post
#
4
(
permalink
)
July 15th, 2003, 12:36 AM
pselva
Registered User
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
#include <windows.h>
void gotoxy(int xpos, int ypos)
{
COORD scrn;
HANDLE hOuput = GetStdHandle(STD_OUTPUT_HANDLE);
scrn.X = xpos; scrn.Y = ypos;
SetConsoleCursorPosition(hOuput,scrn);
}
pselva
View Public Profile
Find all posts by pselva