pfu資料庫
『壹』 C語言system()函數里的參數可以是變數嗎
system是執行DOS的指令,在DOS下能執行的指令,用system都可以執行
把dos的命令直接放到它的參數裡面就可以執行
system("cls")對應控制台程序,可以清屏
計算機組成原理→DOS命令→匯編語言→C語言(不包括C++)、代碼書寫規范→數據結構、編譯原理、操作系統→計算機網路、資料庫原理、正則表達式→其它語言(包括C++)、架構……
.
.
BREAKSetsorclearsextendedCTRL+Cchecking.
(ACLs)offiles.
.
.
.
.
.
.
CLSClearsthescreen.
.
.
.
.
.Youcannotconvertthe
currentdrive.
.
DATEDisplaysorsetsthedate.
DELDeletesoneormorefiles.
.
.
.
DOSKEYEditscommandlines,recallsWindows2000commands,andcreatesmacros.
ECHODisplaysmessages,orturnscommandechoingonoroff.
.
ERASEDeletesoneormorefiles.
EXITQuitstheCMD.EXEprogram(commandinterpreter).
,anddisplaysthedifferences
betweenthem.
.
.
.
.
.
batchprogram.
mode.
.
.
LABELCreates,changes,.
MDCreatesadirectory.
MKDIRCreatesadirectory.
MODEConfiguresasystemdevice.
.
.
.
.
.
PRINTPrintsatextfile.
.
.
RDRemovesadirectory.
.
REMRecordscomments(remarks)inbatchfilesorCONFIG.SYS.
RENRenamesafileorfiles.
RENAMERenamesafileorfiles.
REPLACEReplacesfiles.
RMDIRRemovesadirectory.
SETDisplays,sets,.
.
.
SORTSortsinput.
.
.
.
.EXEsession.
.
.
.
correctlytoadisk.
.
.