?? readme
字號:
README file for the simplified subdirectoryLast modified on Thu Oct 20 00:01:22 1994 by eroberts________________________________________________________________________The simplified directory contains a simplified version of the csliblibrary, as it appears in Appendix B of "The Art and Science of C: ALibrary-Based Approach" (Addison-Wesley, 1995).As in the standard library package, the graphics library provided inthis directory is a machine-independent implementation that writes adata file called graphics.ps that can then be sent to a PostScriptprinter. If you want to draw actual figures on the screen, you need aversion of graphics.c that has been tailored for use with your specificsystem. Several implementations of graphics.c are included in othersubdirectories (unix-xwindows, mac-think-c, and pc-borland) of the cslibdirectory.The cslib/standard directory includes a more complete version ofgraphics.c that provides more powerful facilities, which you should tryto use if possible. The simplified libraries, however, are sufficientfor all examples used in the text.INSTALLING THE SIMPLIFIED LIBRARIESFirst of all, make sure that the simplified version of the libraries isthe one you want to install. If you are using one of the platforms forwhich the full cslib library package is implemented (XWindows on Unix,Borland C/C++ on the IBM PC, or THINK C or Symantec C++ on theMacintosh), you should be installing the version designed for thatsystem. The cslib libraries produced by those packages are not onlymore powerful but also easier to install. Even if you are not using oneof these systems, you should try to install the standard version beforefalling resorting to the simplified one. For details on deciding whatversion to install, see the README file in the Roberts.CS1.C directory.The steps required to install the simplified library package depend verymuch on what type of computer system and C compiler you have. Thegeneral steps, however, are as follows:1. Use FTP to copy all the files in the simplified directory to a new working directory on your machine.2. Copy the .h files from this directory into the standard #include path used by your compiler.3. Compile each of the source files (genlib.c, graphics.c, random.c, simpio.c, and strlib.c) to produce the corresponding object file.4. Combine the object files together to produce a library file. The steps required to do so vary substantially from system to system, and you should consult the documentation for your compiler before proceeding.5. If you are installing this package on a shared machine, copy the library into some public directory where students can easily gain access to it.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 + -