readme

来自「汇编&c语言code」· 代码 · 共 518 行 · 第 1/2 页

TXT
518
字号
                    Welcome to Turbo C++ for Windows
                    --------------------------------

  This README file contains important information about Turbo C++
  for Windows. For the latest information about Turbo C++ for
  Windows and its accompanying programs and manuals, read this
  file in its entirety.

TABLE OF CONTENTS
-----------------
1.  How to Get Help
2.  Installation
3.  Features
4.  Important Information
5.  Testing Your Expanded Memory
6.  Corrections to the Documents


 1. HOW TO GET HELP
-------------------
  If you have any problems, please read this file, the
  HELPME!.DOC and other files in your DOC subdirectory, and the
  Turbo C++ for Windows manuals first. If you still have a
  question and need assistance, help is available from the
  following sources:

  1. Type GO BPROGB on the CompuServe bulletin board system for
     instant access to the Borland forums with their libraries of
     technical information and answers to common questions.

     If you are not a member of CompuServe, see the enclosed
     special offer, and write for full details on how to receive
     a free IntroPak containing a $15 credit toward your first
     month's on-line charges.

  2. Check with your local software dealer or users' group.

  3. Borland's TECHFAX service. Call (800) 822-4269 for a FAX 
     catalog of entries.

  4. If you have an urgent problem that cannot wait and you have
     sent in the license agreement that came with the package,
     you may call the Borland Technical Support Department at
     (408) 438-5300. Please have the following information ready
     before calling:

     a. Product name and serial number on your original
        distribution disk.  Please have your serial number ready
        or we will be unable to process your call.

     b. Product version number. The version number for Turbo
        C++ for Windows can be displayed by pressing Alt-H/A.

     c. Computer brand, model, and the brands and model numbers of
        any additional hardware.

     d. Operating system and version number. (The version number
        can be determined by typing VER at the MSDOS prompt, or
        use the Windows utility WINVER for the Windows version.)

     e. Contents of your AUTOEXEC.BAT file.

     f. Contents of your CONFIG.SYS file.


 2. INSTALLATION
----------------

  You MUST use the INSTALL program to install Turbo C++ for
  Windows. The files on the distribution disks are all archived
  and have to be properly assembled.  You cannot do this by hand!

  Turbo C++ for Windows includes a Windows installation program
  that will create the appropriate subdirectories and copy the
  software on to your hard disk. To run the installation program
  from Drive A type

      WIN A:INSTALL

  or, if Windows is active, select the program manager's File|Run
  command and type

      A:INSTALL

  Note that this version of the installation program runs under
  Windows standard or 386 Enhanced modes only. After
  installation, make sure you insert \TCWIN\BIN - or whatever you
  selected as your BIN directory - into your DOS path
  so the DLL and executable files can be found.

  If you use a screen saver such as After Dark or Borland's Screenery,
  you should disable it before running the INSTALL program.

  -  Note: The list of files is contained in a separate file
     called FILELIST.DOC, which will appear in the target
     directory you specify during installation.

  -  Make sure you select the "LAN Windows configuration" option
     if Windows is executed from your network.

  -  If you have previously installed Resource Workshop, make sure
     that you remove the directory of that version from your path. The
     version included on these disks supercedes previous versions.

  -  If you use a Windows command shell other than Program Manager,
     you may not get a Turbo C++ group installed for Windows. If
     you don't, use File|New in Program Manager (or the equivalent
     command in your shell) to add items for the following files:

            Description    EXE file       Default path
            -----------    --------       ------------
            TURBO C++      TCW.EXE        C:\TCWIN\BIN
            WORKSHOP       WORKSHOP.EXE   C:\TCWIN\BIN
            IMPORT LIB     IMPLIBW.EXE    C:\TCWIN\BIN
            DEBUG          TDW.EXE        C:\TCWIN\BIN
            FCONVERT       FCONVERT.EXE   C:\TCWIN\BIN


  You should read the rest of this README file to get further
  information about this release before you do the installation.


 3. FEATURES
------------

  Turbo C++ for Windows 3.0 includes complete support for Windows
  programming, as well as big speed and capacity gains.  Here are
  some important features:

  - A Windows hosted IDE (TCW.EXE), including a class hierarchy 
    browser.

  - Turbo Debugger support for breakpoints with multiple conditions
    and for viewing selectors.

  - C++ 2.1 support, including the new nested class specifications,
    and support of C++ 3.0 templates.

  - Added library functions for compatibility with other runtime 
    libraries, and addition of support for long double parameters
    in math functions. (Please see the Library Reference for details.)

  - EasyWin, which includes library support for stdio.h and
    conio.h functions under Windows. (Please see the Turbo C++
    for Windows User's Guide for details.)

  - FCONVERT.EXE -  Converts OEM to ANSI Character Set

      DOS text files use the OEM character set; Windows text
      files generally use the ANSI character set. The demo
      program, FCONVERT.EXE converts data back and forth between
      these formats. The only text files that will be affected
      are those containing international characters (ASCII values
      above 128) like the umlaut, etc. Not all OEM characters are
      present in the ANSI character set, and vice versa. 
      Therefore, converting between these character sets may
      produce a mapping that is not reversible.  Refer to your
      Windows documentation for further information about ANSI
      vs. OEM character sets.

  - IMPLIBW.EXE, a Windows-hosted import librarian.

  - ObjectWindows Library, an application framework that will ease
    the development of applications for Windows.

 4. IMPORTANT INFORMATION
-------------------------

  - Turbo C++ for Windows only supports Protected Mode Windows target
    files.

  - If you get a "floating point formats not linked" message at
    runtime, put the following somewhere in your source files:

        extern void _floatconvert();
        #pragma extref _floatconvert

    This will force inclusion of floating point formats, which
    may not be linked to reduce executable size.

  - Make sure that you use the Options|Compiler|Entry|
    Windows <DLL> explicit functions exported when using the
    fastcall modifier. The same applies when using the fastcall
    compilation option (Options|Compiler|Entry|Register.)


  COMPILER

  - Note that the Generate COMDEFs choice under
    Options|Compiler|Code Generation is only supported in the C
    language. Linker errors will result if you attempt to use a
    communal variable in C++.

  - The macros min() and max() are not defined when stdlib.h is
    compiled as C++ (to allow their use in 3rd party libraries,
    etc.).

  - Note that SYMDEB creates .SYM files for use in debugging;
    Turbo C++ for Windows creates .SYM files for pre-compiled
    headers. They are not compatible and collisions should be
    avoided by setting the name of the pre-compiled header file
    (using -H=filename).

  - There is now full support of distance modifiers (near and
    far) used for class member pointers. Here are two sample
    declarations and their meanings:

       void (A::* far var) ();

    this is a far variable 'var' of type 'void (A::*)()';

       void (far A::* var) ();

    this is a 'default distance' variable 'var' of type
	'void (far A::*)()'

  - You must use "smart callbacks" - Options|Compiler|Entry/Exit
    Code|Windows smart callbacks - if your application uses
    classes whose code is in a DLL. This applies especially in
    the case of a class implemented in an EXE which is derived
    from another implemented in a DLL, which normally applies for
    users of OWL and other object-oriented class libraries.

  IDE

  - If you run File|Printer setup from the IDE (or another Windows
    application which has printer setup support) under the Windows
    3.0 debugging kernel, you will get a System Error from Windows.
    You must switch to the NODEBUG version to run this option.

  EXAMPLE PROGRAMS

  - When you are running any example programs that come with .PRJ
    files, if you didn't use the standard directories when you
    installed Turbo C++ for Windows you will have to change the
    .PRJ file to reflect your actual directory setup.  Do this
    from inside Turbo C++ for Windows with Alt-O/D.


  LINKING C++ WITH C

  - Linking C++ modules with C modules requires the use of a
    linkage specification.  Prototypes for C functions within C++
    modules must be in one of the following forms:

        extern "C" declaration
        extern "C" { declarations }

    For example, if a C module contains these functions:

        char *SCopy(char*, char*);
        void ClearScreen(void)

    they must be declared in a C++ module in one of the
      following ways:

        extern "C" char *SCopy(char*, char*);
        extern "C" void ClearScreen(void);

⌨️ 快捷键说明

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