From basic types, other types can be derived. This chapter discusses derived types such as enumeration types for representing a specific set of values, pointers for manipulating addresses or locations of variables, arrays for storing a number of elements having the same type, reference types for creating aliases, structures for storing elements of different types, and unions for storing elements of different types when only one of them is present at a time. Functions—a special type—that may take some values as input and produce some other values as output are also discussed. Another derived type called class is discussed in Chapter 5. All C++ operators and their precedences, and all mathematical functions in the standard library 〈math.h〉 are summarized towards the end of the chapter. The chapter ends with one section on polynomial evaluations and another on numeric integration techniques.
KeywordsEter Sine Tria Sorting Prefix
Unable to display preview. Download preview PDF.