/ *************************************************************************
*
* 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 */
}
| file: /Techref/language/ccpp/cref/EXAMPLES/clrscr.c, 0KB, , updated: 1997/10/15 22:26, local time: 2012/5/23 16:06,
38.107.179.234:LOG IN |
| ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/tecHREF/language/ccpp/cref/EXAMPLES/clrscr.c"> language ccpp cref EXAMPLES clrscr</A> |
| Did you find what you needed? |
| piclist.com members can LOGIN to post questions, add public or private comments, links or even new pages(!). To start, fill out the form. |
|
Peter Todd has released source and sample projects for his artwork, including his 3d wireframe cube renderer for the PIC 18f6520 This includes examples of hardware developed with free software tools such as gEDA/gschem/PCB, SDCC, gputils and picp all on Linux. http://petertodd.ca/art/source-code/ |
.