⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 这是一个数据结构演示系统
💻
📖 第 1 页 / 共 2 页
字号:

  You activate ("pop-up") THELP by typing its hot key -- by
  default numeric keypad <5>. All Turbo C help commands apply
  (F1, Ctrl-F1, Alt-F1). For a complete description of THELP,
  refer to THELP.DOC in the Documentation Subdirectory.

  4.3 USING CINSTXFR.EXE
  ----------------------

  Your Turbo C 2.01 package contains a program named CINSTXFR.EXE,
  which can be used to transfer the configuration of the
  Integrated Development Environment from your copy of Turbo C
  1.5 (not for 1.0) to your new installation of Turbo C 2.01. This
  program is run automatically by INSTALL.EXE if you select the
  option to "Update Hard Drive Copy of Turbo C 1.5 to Turbo C 2.0."
  If you prefer to do this yourself, you can run CINSTXFR.EXE from
  the DOS command line.

  CINSTXFR.EXE takes two arguments: the first is the name of your
  Turbo C 1.5 Integrated Development Environment file (usually
  TC.EXE), and the second is the name of your Turbo C 2.01
  Integrated Development Environment file (also usually TC.EXE).
  Either one of these names can also include a path name.

  For example, if your copy of the Turbo C 1.5 Integrated
  Development Environment file is named TC.EXE and is in a
  directory named \TURBOC and your copy of the Turbo C 2.01
  Integrated Development Environment file is also named TC.EXE
  but is located in a directory named \TC2, the command line to
  copy the configuration from 1.5 to 2.01 would look like this:

    CINSTXFR \TURBOC\TC.EXE \TC2\TC.EXE

  This will transfer all the options that you installed in
  your copy of Turbo C 1.5 to your copy of Turbo C 2.01.

  CINSTXFR.EXE does not work with Turbo C 1.0. If you are
  upgrading from Turbo C 1.0, you will have to install the
  options yourself.

  4.4 CHANGED SWITCHES FOR OBJXREF
  --------------------------------

  OBJXREF is an object module cross reference utility and is
  described on page 528 of the Turbo C Reference Guide.
  The /O option (object files directory) has been changed to the
  /D (directories) option. The switch now allows for multiple
  search directories to be specified. The new syntax is:

    OBJXREF /Ddir1[;dir2[;dir3]]
                or
    OBJXREF /Ddir1 [/Ddir2] [/Ddir3]

  OBJXREF will search each of the directories in the specified
  order for all object and library files. If no /D option is
  used, only the current directory will be searched. However,
  if a /D option is used, the current directory will NOT be
  searched unless it is included in the directory list. For
  example, to first search the BORLAND directory for files and
  then search the current directory, you would type

    OBJXREF /Dborland;.

  If multiple search directories are specified and a file
  matching the file specification is found, OBJXREF will include
  the file as part of the cross-reference. OBJXREF will only
  continue to search the other directories for the same file
  specification if the file specification contains wildcards.

  A new option has been added to allow you to specify an output
  file where OBJXREF will send any reports generated. The new
  option is the /O option, and has the following syntax:

    OBJXREF myfile.obj /RU /Ofilename.ext

  By default, all output is sent to the console.

  4.5 CONVERSION INFORMATION FOR ssignal() AND gsignal()
  ------------------------------------------------------

  Note: The C library and SIGNAL.H no longer support the ssignal()
  and gsignal() functions.

  ssignal() and gsignal() were from the old UNIX System III
  days. The ANSI standard no longer supports them nor does the
  current UNIX System V Interface Definition specification. To
  ease portation problems for people moving older code to Turbo
  C, we supply the source for the functions that came with TC
  1.0 and TC 1.5. Also, the following discussion describes how
  code can be converted to do the same sort of things that
  ssignal() and gsignal() do without actually using them.

  NOTE: The constants defined in SIGNAL.H for SIG_IGN and
        SIG_DFL are different from the constants that were in
        TC 1.0 and TC 1.5.

  By using a globally declared array of function pointers, you
  can simulate the actions of ssignal() and gsignal() by using
  the following macros. Notice how the global table entry [0] is
  used as a temporary variable in the ssignal macro allowing the
  macro to swap the values and still return the original one.

    int (*_sigTable[16]) =
        {
        SIG_IGN, SIG_IGN, SIG_IGN, SIG_IGN,
        SIG_IGN, SIG_IGN, SIG_IGN, SIG_IGN,
        SIG_IGN, SIG_IGN, SIG_IGN, SIG_IGN,
        SIG_IGN, SIG_IGN, SIG_IGN, SIG_IGN,
        };

    #define ssignal(num, action) \
    ( \
    (((num) < 1) || ((num) > 15)) ? SIG_DFL : \
      ( \
      (_sigTable[0] = _sigTable[(num)]),  /* List of actions     */ \
         _sigTable[(num)] = (action),     /* The last expression */ \
            _sigTable[0]                  /* is the return value */ \
      ) \
    ) \

    #define gsignal(num) \
    ( \
    (((num) < 1) || ((num) > 15)) ? 0 : \
      ( \
      (_sigTable[(num)] == SIG_IGN) ? 1 : \
         ( \
           (_sigTable[(num)] == SIG_DFL) ? 0 : (*_sigTable[(num)])() \
      ) \
    ) \
   ) \


 5. NOTES FOR TURBO PROLOG USERS
--------------------------------

  o If you are linking C code with programs generated by Turbo
    Prolog 2.0, use the file INIT.OBJ provided on the
    INSTALL/HELP/BGI disk of the Turbo C 2.01 package instead of
    the file provided with Turbo Prolog 2.0.  There have been some
    changes made in Turbo C 2.01 that require the use of this new file.

  o If your C code uses floating point math and you link with the
    emulator library, Prolog will not automatically detect a math
    coprocessor chip. If you want to force the program to use the
    coprocessor, link it with FP87.LIB instead of EMU.LIB.


 6. FILES ON THE DISKS
----------------------

  INSTALL/HELP/BGI
  ----------------
  INSTALL  EXE  -  Installation program
  README   COM  -  Reads this README
  TCHELP   TCH  -  Help file for Turbo C
  THELP    COM  -  Pop-up utility to access TCHELP.TCH
  THELP    DOC  -  Documentation for THELP.COM
  UNPACK   COM  -  Program to unpack the ARC files
  OBJXREF  COM  -  Object file cross reference utility
  C0H      OBJ  -  Huge model startup code
  MATHH    LIB  -  Huge model math library
  CH       LIB  -  Huge model run-time library
  GETOPT   C    -  Parses options in command line
  HELLO    C    -  Example Turbo C program
  MATHERR  C    -  Source code for handling math library exceptions
  SSIGNAL  C    -  Source code for ssignal and gsignal functions
  CINSTXFR EXE  -  Program to copy TC 1.5 installation to TC 2.01
  INIT     OBJ  -  Initialization code for use when linking with Prolog

  BGI      ARC  -  BGI drivers and fonts
    BGIOBJ   EXE - Conversion program for fonts and drivers
    ATT      BGI - Graphics driver for ATT400 graphics card
    CGA      BGI - Graphics driver for CGA
    EGAVGA   BGI - Graphics driver for EGA and VGA
    HERC     BGI - Graphics driver for Hercules
    IBM8514  BGI - Graphics driver for IBM 8514 graphics card
    PC3270   BGI - Graphics driver for PC3270
    GOTH     CHR - Font for gothic character set
    LITT     CHR - Font for small character set
    SANS     CHR - Font for sansserif character set
    TRIP     CHR - Font for triplex character set
    BGIDEMO  C   - Graphics demonstration program

  STARTUP  ARC  -  ARC file with startup source code and related files
    RULES    ASI - Assembler include file for interfacing with Turbo C
    C0       ASM - Assembler source for startup code
    SETARGV  ASM - Assembler source code for parsing the command line
    SETENVP  ASM - Assembler source code for preparing the environment
    BUILD-C0 BAT - Batch file for building the startup code modules
    MAIN     C   - Alternative, stripped-down C main file
    EMUVARS  ASI - Assembler variable declarations for emulator
    WILDARGS OBJ - Object code for module to expand wildcard arguments

  EXAMPLES ARC  -  Various C examples code
    CPASDEMO PAS - Pascal program that demonstrates Turbo Pascal 4.0 -
                   Turbo C interface
    CPASDEMO C   - C example module for the Turbo Pascal 4.0 - Turbo C
                   interface demonstration
    CTOPAS   TC  - Configuration file for use with TC.EXE that
                   creates Turbo C modules in the correct format
                   for linking with Turbo Pascal 4.0 programs
    CBAR     C   - Example function to be used with PBAR.PRO
    PBAR     PRO - Example Turbo Prolog program demonstrating interface
                   with Turbo C
    WORDCNT  C   - Example program demonstrating source level debugging.
                   NOTE: DO NOT RUN THIS PROGRAM WITHOUT READING
                         THE DISCUSSION IN THE MANUAL. IT CONTAINS
                         DELIBERATE ERRORS.
    WORDCNT  DAT - Data file for use by WORDCNT.C

  MCALC    ARC  -  Mcalc sources and doc
    MCALC    DOC - MicroCalc documentation
    MCALC    C   - MicroCalc main program source code
    MCINPUT  C   - MicroCalc input routines source code
    MCOMMAND C   - MicroCalc commands source code
    MCPARSER C   - MicroCalc input parser source code
    MCUTIL   C   - MicroCalc utilities source code
    MCDISPLY C   - MicroCalc screen display source code
    MCALC    H   - The header file for MicroCalc
    MCALC    PRJ - The MicroCalc project file

  README        -  This file


  COMPILER/UTILITIES
  ------------------
  TC       EXE  -  Turbo C Compiler
  TCCONFIG EXE  -  Program to convert configuration files
  MAKE     EXE  -  Program for managing projects
  GREP     COM  -  Turbo GREP program
  TOUCH    COM  -  Program that updates a file's date and time
  TCC      EXE  -  Command line version of Turbo C Compiler
  CPP      EXE  -  Turbo C preprocessor
  TCINST   EXE  -  Installation program for TC.EXE
  TLINK    EXE  -  Borland Turbo Linker
  HELPME!  DOC  -  Common questions and answers


  HEADER FILES/LIBRARIES
  ----------------------
  C0S      OBJ  -  Small model startup code
  C0T      OBJ  -  Tiny model startup code
  C0L      OBJ  -  Large model startup code
  MATHS    LIB  -  Small model math library
  MATHL    LIB  -  Large model math library
  CS       LIB  -  Small model run-time library
  CL       LIB  -  Large model run-time library
  EMU      LIB  -  8087 emulator library
  GRAPHICS LIB  -  Graphics library
  FP87     LIB  -  8087 library
  TLIB     EXE  -  Borland Turbo Librarian
  ???????? H    -  Turbo C header files
  <SYS>         -  Subdirectory with SYS\*.H header files
  C0C      OBJ  -  Compact model startup code
  C0M      OBJ  -  Medium model startup code
  MATHC    LIB  -  Compact model math library
  MATHM    LIB  -  Medium model math library
  CC       LIB  -  Compact model run-time library
  CM       LIB  -  Medium model run-time library

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -