Re: print something on console at the position I want with printf?
- From: Chris <chris@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 23 Jan 2008 14:06:49 GMT
google-rambo88 wrote:
Hi....
I'd like to print something on console at the position I want.
for example in dos, I cann print my message on x,y
co¡¤or¡¤di¡¤nate
printxy ( int x , int y , char *msg )
{
gotoxy ( x , y );
printf ("%s", msg );
}
but on Linux console , I don't know how to print on the x,y coordiante I
want...
Thanks.
You want the ncurses library. Not only does it do what you are asking, but
you can draw boxes too!
--
Chris
.
- Follow-Ups:
- References:
- print something on console at the position I want with printf?
- From: google-rambo88
- print something on console at the position I want with printf?
- Prev by Date: Re: RS232 Redirector Program in C using Linux
- Next by Date: Kdevelop: executable works, debug run does not?
- Previous by thread: Re: print something on console at the position I want with printf?
- Next by thread: Re: print something on console at the position I want with printf?
- Index(es):
Relevant Pages
|