摘要: #include <windows.h>void cls( HANDLE hConsole ){ COORD coordScreen = { 0, 0 }; // home for the cursor DWORD cCharsWritten; CONSOLE_SCREEN_BUFFER_INFO csbi; DWORD dwConSize;// Get the number of character cells in the current buffer. if( !GetConsoleScreenBufferInfo( hConsole, &csbi )) ... 阅读全文
posted @ 2013-01-04 23:47 庄庄庄 阅读(775) 评论(1) 推荐(0) 编辑