Вниз
Скачать: CL | DM;

Консольное приложение   Найти похожие ветки 

← →
Ozone ©   (2004-11-26 06:17) [0]

Как очистить экран в консольном приложении (типа clrscr в Pascal"e)?


← →
_sulent   (2004-11-26 07:55) [1]

uses
 Windows;

var
 mes: string;
 sbi: TConsoleScreenBufferInfo;
 i: integer;
begin
 writeln("clear?: >"); readln(mes);
 if mes = "y" then begin
   GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), sbi);
     Readln;
     GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE),
       sbi);
     for i := 0 to sbi.dwSize.y do    writeln;
 end;
 readln;


← →
Gero ©   (2004-11-26 09:52) [2]

FillConsoleOutputCharacter + FillConsoleOutputAttribute


← →
Ozone ©   (2004-11-26 10:23) [3]

Gero ©   (26.11.04 09:52) [2]

Спасибо и тебе.



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.026 c
1-1104139526
HOCHU SKIN
2004-12-27 12:25
2005.01.16
Skin s


6-1098814097
vladimirf2001
2004-10-26 22:08
2005.01.16
RAS Server


4-1101630782
Alexis
2004-11-28 11:33
2005.01.16
Найти принадлежащие процессу окна...


10-1080826752
serg128
2004-04-01 17:39
2005.01.16
Как в ClientDataSet заблокировать запись?


14-1104314751
Zeqfreed_
2004-12-29 13:05
2005.01.16
FAR




   Наверх