sorry era in

/usr/share/doc/HTML/en/kdevelop/reference/C/EXAMPLES/clrscr.c


il pun aici in caz ca nu-l ai:

/*************************************************************************
 *
 * Purpose: Clear the screen with VT100 escape codes.
This can be done
 *          with conio.h on PCs - non standard code.
Or curses.h, bit of 
 *          a fag...
 * Author:  M.J. Leslie
 * Date:    22-Jun-94
 *

************************************************************************/

void clrscr(void);

main()
{
    clrscr();
}

void clrscr(void)
{
    printf("\033[2J");                  /* Clear the entire
screen.         */
    printf("\033[0;0f");                /* Move cursor to the top
left hand corner */
}

baga un google search dupa VT100 escape characters si
curses.h (asa cum au mai spus si ceilalti)


void gotoxy(const int x, const int y)
{
    printf("\033[%d;%df", x, y);                
}

hope this helps

Mihai D.

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui