藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 應用編程


    

藍森林 http://www.lslnet.com 2006年6月6日 10:18


linux下沒有清屏幕的函數嗎?

好像clearscreen,clrscr都沒有, 其它論壇上有人回復為:
void clrscr()
{
  printf("\033[2J"); /* Clear the entire screen. */
  printf("\033[0;0f"); /* Move cursor to the top left hand corner */
}

linux下沒有清屏幕的函數嗎?

clear

linux下沒有清屏幕的函數嗎?

看VT100控制串說明

那個printf就是一個例子

linux下沒有清屏幕的函數嗎?

system(clear);

linux下沒有清屏幕的函數嗎?

直接用clear();



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com