Re: Equivelant C routines
- Posted by stewartml89 at msn.com Oct 07, 2003
- 380 views
Thanks for the help. >From: Elliott Sales de Andrade <quantum_analyst at hotmail.com> >Subject: Re: Equivelant C routines > > >>From: stewartml89 at msn.com >>Subject: Equivelant C routines >> > Stupid Topica unsubscribed me before I answered. >> >> >>Hi. I am wandering if anyone here can tell be the equivalent c routines >>to >>some euphoria ones. I'm new to C. Also what header files need to be >>included and what libs to link with. Here they are: >> >> get_screen_char() >#include <conio.h> >int gettext(int left, int top, int right, int bottom, void *destin); > >gets the rectangle bounded by left, top, right, and bottom and puts it in >destin. > >> put_screen_char() >#include <conio.h> >int puttext(int left, int top, int right, int bottom, void *source); > >puts the rectangular region (of left, top, right, bottom) on the screen. > > Remember that each position takes up two bytes in memory, one for the >actual character and one for its attributes. Also, text starts at 1, 1 in >the top-left corner. > >> clear_screen() >#include <conio.h> >void clrscr(void); > >clears the screen and places the cursor at 1, 1. >> >>Any help would be appreciated. >> > > > >TOPICA - Start your own email discussion group. FREE! > >