This chapter provides detailed information enabling a programmer to write application programs that make use of the CMU ODA Tool Kit and Raster Graphics Tool Kit. Section 12.1 explains how to make use of the include files provided by the tool kits. This is, of course, strictly a syntactic issue of putting the proper #include preprocessor statements in the appropriate places. The remaining sections of this chapter describe semantic issues. Section 12.2 describes the manner in which the routines exported by the tool kits should be used: how to call them and how to check for execution errors. Section 12.3 describes the global variables exported by the tool kits, the conditions under which these variables will contain meaningful information and what that information will be. Section 12.4 provides instructions for linking the appropriate tool kit libraries with application programs.
KeywordsApplication Program Global Variable Object File Source File Link Phase
Unable to display preview. Download preview PDF.