複製鏈接
請複製以下鏈接發送給好友

settime

鎖定
settime是一種函數名。
中文名
settime
類    型
函數名
功 能
設置系統時間
用 法
void settime

目錄

settime簡介

函數名: settime
功 能: 設置系統時間

settime程序例子

Uses Graph;
Var
Gd,Gm.Integer;
y,size:Integer;
Begin
Gd:=Detect;
InitGraph(Gd,Gm,");
If GraphResult<>grOK Then
Halt(1);
y:=0;
For size:=1 To4 Do
Begin
SetTextStyle(DefaultFont,HorzDir,size);
OutTextXY(0,y,'Size=, +Chr(size+48));
Inc(y,TextHeigh('H')+1);
End;
Readin;
CloseGraph;
End. [1] 
參考資料
  • 1.    周志強,陳小明. Turbo Pascal實用大全[M]. 北京:北京航空航天大學出版社, 1995.12.P914.