📄 readme
字号:
README file for the mac-think-c subdirectoryLast modified on Thu Oct 20 00:01:21 1994 by eroberts________________________________________________________________________This directory contains an implementation of the cslib library designedfor use with the THINK C and Symantec C++ compilers for the Macintosh.The development and testing of the package has been performed withversion 5.0 and 6.0 of the THINK C compiler and version 7.0 of theSymantec C++ compiler. The library packages may work with otherversions of these compiler, but it is impossible to test the packagewith every version of existing compilers.TO INSTALL THE MACINTOSH VERSION OF THE LIBRARIES ON YOUR MACHINE:1. Connect your FTP application to the mac-think-c directory on the aw.com server.2. If your version of FTP allows you to do so, set the transfer type to BinHex4 and retrieve the file cslib.hqx. This file is a compressed archive of the library package produced using a combination of two utilities for the Macintosh: CompactPro and BinHex4. If your FTP application does not support BinHex4 retrieval directly, retrieve the cslib.hqx archive in text mode and run it through the public- domain BinHex4 conversion utility, which you will have to obtain for your Macintosh. At this point, you should have an application file on your Macintosh called cslib.sea, which is the output of the BinHex4 conversion.3. Run the cslib.sea application by double-clicking its icon.4. When the file dialog for the CompactPro utility appears, select the folder that contains the THINK C or Symantec C++ application. Note that this is not usually the top-level folder for the compiler package but is instead one folder level down in a folder labeled something like "THINK C 5.0 Folder".5. Click the Extract button to unpack the archive.6. For each of the project files in the CS Libraries folder created in the previous step, use the compiler to build a new library file and save it in that folder.Note that the Macintosh system creates three different libraries -- cslib.lib, graphics.lib, and random.lib -- rather than a single filecontaining all of the libraries. On the Macintosh, each library isrestricted to a single 32K segment, and the libraries are thereforedivided into pieces to ensure that this restriction is met.USING CSLIB ON THE MACINTOSHTo build a Macintosh program using the cslib libraries, you need toinclude the libraries it uses as part of the project. You must alsoensure that the project uses the same compiler options that were used toproduce the libraries. For example, if the libraries were compiledusing 2-byte integers, the application project must also use 2-byteintegers. The compiler does not check whether the option settings areconsistent; if they are not, it simply produces programs that will notrun correctly.NOTES AND DISCLAIMERSThe cslib libraries are in the public domain and may be freely copiedand distributed, although they remain under development. No warrantiesare made concerning their correctness or stability, and no user supportis guaranteed. Bug reports and suggestions, however, are appreciatedand may be sent to Eric Roberts <ericr@aw.com>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -