Utilities Package Version 2013.0
|
This is the Fall, 2013 version of the documentation for the instructor-supplied C++ utilities package to be used in CSCI 2341 and CSCI 2342, as well as during the latter part of CSCI 1228.You will find here descriptions of some very useful (time-saving) constant definitions, free functions, and classes. It will take some time to become thoroughly familiar with all that is available, but you will need to start using the package near the beginning of your C++ learning experience, and then continue to learn new features of the package as the term progresses.
The source code that makes use of this utilities package must include the utilities.h
header file, and link to the corresponding object file (which is named utilities.obj
under Windows, and utilities.o
under Linux, for example). Note as well that the package is enclosed in namespace Scobey
.
The package contains features in four categories, as listed below.
Among the eleven named constants listed above there are these three constant arrays containing names: NAMES_FEMALE (300 first names for females), NAMES_MALE (300 first names for males), and NAMES_FAMILY (100 family names), all ranked in the order of name frequency as observed in the United States and reported on the Internet at these sites: