F. Biblioteca de funciones estándar ANSI/ISO C++
F. Biblioteca de funciones estándar ANSI/ISO C++
F. Biblioteca de funciones estándar ANSI/ISO C++
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
664 PROGRAMACIÓN EN <strong>C++</strong>. ALGORITMOS, ESTRUCTURAS Y OBJETOS<br />
wherex<br />
wherey<br />
int wherex(void);<br />
int wherey(void);<br />
#inclu<strong>de</strong> <br />
Determina la coor<strong>de</strong>nada x (wherex) y la coor<strong>de</strong>nada y (wherey) <strong>de</strong> la<br />
posición <strong>de</strong>l cursor en la ventana actual.<br />
xpos = where(x); ypos = where(y);<br />
window<br />
#inclu<strong>de</strong> <br />
void window(int izda, int arriba, int dcha, int abajo);<br />
Define una región rectangular <strong>de</strong> la pantalla como la ventana <strong>de</strong> texto<br />
actual esquina superior izquierda (izda, arriba) y esquina inferior <strong>de</strong>recha<br />
(dcha, abajo).<br />
window(15, 5, 54, 14);<br />
// ventana <strong>de</strong> 40 x 10 con origen en (15, 5)<br />
Funciones relacionadas: gettextinfo, textmo<strong>de</strong>.