April 2011
Beginner
624 pages
11h 34m
English
The most commonly used library functions fall into a few categories: string functions, data-conversion functions, single character functions, math functions, time functions, and randomization functions. This appendix provides an overview. Note that I do not cover I/O functions such as printf or fprintf, because I assume you are using C++ stream classes.
For more information on the stream objects cin, cout, and the stream classes, see Appendix G.
To use these functions, include the file <cstring>. The functions apply to traditional C char* strings, not to the STL string class.
In Table F.1, s, s1, and s2 are null-terminated char* strings; or rather, each of these equates to the address ...
Read now
Unlock full access