September 2004
Beginner
528 pages
10h 26m
English
The C++ library is too large to be covered in a few pages. However, the most commonly used library functions fall into just a few categories: string functions, data-conversion functions, single-character functions, math functions, and (because they are used in this book) the randomization functions. This appendix provides a quick overview.
To use these functions, include the file string.h. The functions apply to traditional C char* strings, but not to the new, automated C++ string class. The latter is described near the end of Chapter 7.
In the following Table E1, s, s1, and s2 are null-terminated char* strings (actually, each of these arguments contain the address of the string); n is an ...
Read now
Unlock full access