#include<windows> ??? GetStdHandle ?? Esto... emmm... Herejía!!!! On dom, 2005-07-31 at 17:15 -0600, Walter Gerardo Navarro Alvarado wrote: > // gotoxy.cpp : Defines the entry point for the console application. > // > #include<windows> > void gotoxy(int x, int y) > { > HANDLE hConsoleOutput; > COORD dwCursorPosition; > > dwCursorPosition.X = x; > dwCursorPosition.Y = y; > hConsoleOutput = GetStdHandle(STD_OUTPUT_HANDLE); > SetConsoleCursorPosition(hConsoleOutput,dwCursorPosition); > } > > void main() > { > gotoxy(5,5); > cout << "Hello there!"; > } > > > _______________________________________ > Yo me registré en www.costarricense.cr > >
Attachment:
signature.asc
Description: This is a digitally signed message part