> // 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!"; > }
Como dirian en mi pais, ¿y esto con que se come? -- Damian D. Fossi Salas Linux User: 188464 www.actividadcreativa.com