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.
.
.