// 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

  • [no subject] Walter Gerardo Navarro Alvarado
    • Re: Álvaro Vega García
    • Re: Damian Fossi

Responder a