* CLRSCR *
*------------------------------------------------------*
* This function positions the cursor at the specified *
* x,y coordinate. It uses the ANSI standard ESCAPE *
* sequence to produce the desired effect. Its not the *
* fastest way to position the cursor, but perhaps the *
* most portable. *
* *
********************************************************/
clrscr()
{
printf("%c[2J",ESC);
}
posted on 2006-03-02 21:55 Aween's Blog 阅读(...) 评论(...) 编辑 收藏
转载于:https://www.cnblogs.com/aween/archive/2006/03/02/341556.html