Re: Equivelant C routines

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu