|
藍森林 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(); |
| |