install.bat
来自「The art and science of c_source code!」· Batch 代码 · 共 48 行
BAT
48 行
@echo offif not exist include\stdio.h goto notbcif not exist cslib\tools\prefix.mak goto notcslibtype cslib\tools\prefix.mak > cslib\windows\makefilecd >> cslib\windows\makefiletype cslib\tools\windows.mak >> cslib\windows\makefileecho Installing #include filescd includeif not exist dosgraph.h rename graphics.h dosgraph.hcopy ..\cslib\include\*.hcd ..if not exist cslib\dos\genlib.c goto enddosecho Making DOS version of the librariestype cslib\tools\prefix.mak > cslib\dos\makefilecd >> cslib\dos\makefiletype cslib\tools\dos.mak >> cslib\dos\makefilecd cslib\dosmakecd ..\..:enddosif not exist cslib\windows\genlib.c goto endwindecho Making Windows version of the librariestype cslib\tools\prefix.mak > cslib\windows\makefilecd >> cslib\windows\makefiletype cslib\tools\windows.mak >> cslib\windows\makefilecd cslib\windowsmakecd ..\..:endwindecho Installation completegoto end:notbcecho Error: This file must be executed in the Borland compiler directory.goto end:notcslibecho Error: The CSLIB subdirectory must have been installed in theecho Borland compiler directory.:end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?