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

📄 tchk.doc

📁 c语言函数库,包括大部分c语言函数的说明和代码,有利于想深入了解c编程的开发人员.
💻 DOC
📖 第 1 页 / 共 4 页
字号:
    TCHK 2.1                                                   Page 1







                        TCHK - a Turbo C library
                              Version 2.10
                         Documentation for TCHK
                                   by
                            Howard Kapustein


                            Howard Kapustein
                           1695 Barbara Lane
                         East Meadow, NY 11554
                             (516) 481-9612

           (c) Copyright 1987, 1988, 1989 All rights reserved





    TCHK 2.1                                                   Page 2
                            Table of Contents


COPYRIGHT AND DISCLAIMER  ...........................................   4

TRADEMARKS  .........................................................   4

LICENSE  ............................................................   4

REGISTRATION AND ORDERING INFORMATION  ..............................   5

QUANTITY DISCOUNTS  .................................................   6

BACKGROUND  .........................................................   6

FILES  ..............................................................   7

IN THE BEGINNING..  .................................................   8

FEATURES  ...........................................................   9

CREDIT  .............................................................  10

FUNCTIONS  ..........................................................  10

TIPS AND CAVEATS  ...................................................  12

#DEFINES  ...........................................................  12
     Ansihk.h  ......................................................  12
     Color.h  .......................................................  12
     Chiphk.h  ......................................................  12
     Datehk.h  ......................................................  13
     Doshk.h  .......................................................  13
     Filehk.h  ......................................................  14
     Finance.h  .....................................................  15
     Howard.h  ......................................................  15
     Ibm.h  .........................................................  15
     Keyboard.h  ....................................................  16
     Keycode.h  .....................................................  16
     Math.h  ........................................................  17
     Menuhk.h  ......................................................  17
     Mousehk.h  .....................................................  19
     Multihk.h  .....................................................  20
     Printhk.h  .....................................................  20
     Real.h  ........................................................  20
     Sound.h  .......................................................  21
     Statehk.h  .....................................................  21
     Timehk.h  ......................................................  21
     Video.h  .......................................................  21
     Zip.h  .........................................................  22

VARIABLE TYPES  .....................................................  23


    TCHK 2.1                                                   Page 3
GLOBAL VARIABLES  ...................................................  24
     Date variables:  ...............................................  24
     Keyboard variables:  ...........................................  24
     Menu variables:  ...............................................  25
     Mouse variables:  ..............................................  25
     Multitasking variables:  .......................................  25
     Real (simulated FP) variables:  ................................  25
     State/Zip code variables:  .....................................  25
     TCHK version variables:  .......................................  26
     Video variables:  ..............................................  26

REVISION HISTORY  ...................................................  28

FUTURE ENHANCEMENTS  ................................................  35

OTHER PRODUCTS  .....................................................  38

SUPPORT  ............................................................  39

APPENDIX A - DATE FORMATS  ..........................................  40

APPENDIX B - date_convert() FORMATS  ................................  41

APPENDIX C - time_convert() FORMATS  ................................  43

APPENDIX D - SIMULATED FP MATH  .....................................  44

APPENDIX E - MOUSE FUNCTIONS  .......................................  46

APPENDIX F - REGISTRATION FORM  .....................................  49

APPENDIX G - BUG REPORT FORM  .......................................  52

Index  ..............................................................  56

    TCHK 2.1                                                   Page 4


                        COPYRIGHT AND DISCLAIMER

     This library and documentation are Copyrighted (C) 1987, 1988,
     1989 by Howard Kapustein, All Rights Reserved.

     Use of this library acknowledges this disclaimer of warranty:
     "This library is supplied as-is. The author disclaims all
     warranties, expressed or implied, including, without limitation,
     the warranties of merchantability and of fitness of this product
     for any purpose. The author assumes no liability for damages
     direct or consequential, which may result from the use of this
     product."



                               TRADEMARKS

     CLIPPER is a trademark of Nantucket Corporation.
     dBASE and dBase III Plus is a registered trademark of Ashton-Tate
          Incorporated.
     DESQview is a registered trademark of Quarterdeck Office Systems.
     GEnie is a trademark of GE Information Services.
     IBM is a registered trademark of International Business Machines.
     LIM and EMS are trademarks of Lotus, Intel, and Microsoft
          Corporations.
     Lotus and Symphony are registered trademarks of Lotus Corp.
     Macintosh is a registered trademark of Apple Incorporated.
     Microsoft and Quick C are registered trademarks of Microsoft
          Corporation.
     TLIB, Turbo Assembler and Turbo C are registered trademarks of
          Borland International.



                                LICENSE

     TCHK is NOT, nor has it ever been, public domain or free software.

     TCHK is being distributed under the User Supported software
     concept. Nonregistered users are granted a limited license to use
     TCHK for a trial period, in order to determine if it suits their
     needs. Any other use of TCHK or use past this period requires
     registration. Any use of non-registered copies of TCHK by a
     business, organization, or any kind of institution is forbidden.

     A registered copy of TCHK must be treated like a book, in that the
     same registered copy of TCHK may not be used by more than one
     person nor on more than one machine at the same time.

     Non-registered users are granted a limited license to make an
     evaluation copy for trial use on a private, non-commercial basis,
     for the express purpose of determining whether TCHK is suitable 
    TCHK 2.1                                                   Page 5
     for their needs. After this trial period, you should either
     register your copy or discontinue using TCHK. Registering your
     copy of the software helps the author continue to provide
     professional-quality software at very reasonable prices.

     All corporate, business, government or other commercial users of
     TCHK MUST be registered.

     All users are granted a limited license to copy TCHK only for the
     trial use of others and subject to the above limitations. This
     license does NOT include distribution or copying of this software
     package:

          1 -  In connection with any other product or service.
          2 -  For general use within a company or institution.
          3 -  For any consideration or 'disk fee'.
          4 -  In modified form, i.e. the file containing this license
               information MUST be included, along with the full
               documentation, demos and any other files distributed
               with TCHK.

     Operators of electronic bulletin board systems (Sysops) are
     encouraged to post TCHK for downloading by their users, as long as
     the above considerations are met.

     If you are a distributor of a public domain or user-supported
     software library, you may be eligible to distribute copies of
     TCHK. You must meet all of the above conditions and acquire
     written permission from me, the author (Howard Kapustein) before
     doing so. Such permission is usually granted. Please call or write
     for details.

     Distribution of a program incorporating an unregistered version of
     TCHK, in part or whole, is a violation of the law.



                 REGISTRATION AND ORDERING INFORMATION

     Users may become REGISTERED owners for the small pittance of $20.
     Registering has the following benefits:

          Registered owners will receive TCHK compiled for use with all
          memory models (not just the small memory model distributed
          here.)

          Registered owners will receive a disk supplied version of the
          TCHK manual formatted for printing on an HP Laserjet.

          Registered owners have a royalty-free runtime license, and
          are entitled to utilize TCHK in distributed applications.

          Registered owners can update their registration to the newest
          version of TCHK for a nominal fee to cover diskette(s),
          shipping and handling.

    TCHK 2.1                                                   Page 6

     REGISTERED owners may purchase the source code to TCHK for $40.

     All materials are shipped on 5.25-inch floppy diskettes.
     Unfortunately, I do not yet have a 3.5-inch floppy drive, but it
     is on my list of "Uses for registration monies". Sorry, but for
     now, 3.5-inch disk versions of TCHK are not available. Yet...

     An evaluation disk with the current copy of TCHK on it is
     available for $10. This is to be used to try out TCHK, and does
     not include registration. The fee covers the cost of postage,
     diskette(s), and handling.

     Non-U.S. orders need to include $5.00 extra to cover additional
     shipping and handling charges. Checks and money orders must be
     drawn on a U.S. bank. Please send all payments payable in U.S.
     Dollars.

     To place an order, please use the order form distributed with TCHK
     (REGISTER.DOC). If by chance, you don't have the REGISTER.DOC
     file, a copy of the registration form is available in Appendix F.



                           QUANTITY DISCOUNTS

     Quantity discounts are available starting at the 11th copy, as
     follows:

           0-10 copies:        no discount
          11-15 copies:        5% discount
          16-20 copies:       10% discount
          21+   copies:       15% discount

     ALL PRICES AND DISCOUNTS ARE SUBJECT TO CHANGE WITHOUT NOTICE. 
     Discounts are not cumulative; they apply to single orders of like
     products only.



                               BACKGROUND

     I am a recent graduate of Rensselaer Polytechnic Institute (May
     '89) with a B.S. in Computer Science and a minor in Accounting.
     I also do consulting/programming work as a sideline (hint hint.)
     Currently, I'm working full time with Shared Medical Systems (SMS)
     in Malvern, PA. When I purchased Turbo C (way back at version
     1.0), I wanted to do more than bare bones printf(). I was also
     engaged in designing some software requiring the use of dates, and
     some other unusual functions. Thus, after several months of
     testing and use, I developed a rather useful collection of
     functions. After some requests from other programmers, I decided
     to bundle most of them together and <gasp> document them. Since
     then, my library has grown, and so has TCHK. This library is a
     collection of most of these functions.

    TCHK 2.1                                                   Page 7



                                 FILES

     You may not distribute TCHK except in unmodified form, and it must
     be distributed with all the following files:

          PACKING.LST    - list of distributed files
          READ.ME        - last minute notes

          BUG.DOC        - TCHK bug report form
          REGISTER.DOC   - TCHK registration form
          TCHK.GEN       - TCHK file description for GEnie
          TCHK.MSG       - brief description of TCHK
          TCHK.PRO       - TCHK BBS file description for ProDoor
          TCHK.ZDR       - TCHK BBS file description for ZDoor

          TCHK.DOC       - TCHK documentation
          TCHK.FNC       - TCHK function documentation
          TCHKS.TC       - Turbo C configuration file (Small)
          TCHKS.LIB      - small memory model library

          ANSIHK.H       - header file for ANSI functions
          CHIPHK.H       - header file for chip id routines
          COLOR.H        - color definitions
          COMM.H         - header file for communications functions
          DATEADV.H      - header file for advanced date routines
          DATECONV.H     - header file for date conversion routines

⌨️ 快捷键说明

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