Standard C++ Library Reference ISO/IEC (VERSION3)
Furthermore, in C++, if control leaves a called function because it fails to handle a thrown
exception, terminate is called.
atof
double atof(const char *s);
The function converts the initial characters of the string s to an equivalent value x of type
double and then returns x. The conversion is the same as for strtod(s, 0), except that a
value is not necessarily stored in errno if a conversion error occurs.
atoi
int atoi(const char *s);
The function converts the initial characters of the string s to an equivalent value x of type int
and then returns x. The conversion is the same as for (int)strtol(s, 0, 10), except
that a value is not necessarily stored in errno if a conversion error occurs.
atol
long atol(const char *s);
The function converts the initial characters of the string s to an equivalent value x of type long
and then returns x. The conversion is the same as for strtol(s, 0, 10), except that a
value is not necessarily stored in errno if a conversion error occurs.
bsearch
extern "C++"
void *bsearch(const void *key, const void *base,
size_t nelem, size_t size,
int (*cmp)(const void *ck,
const void *ce)); [C++ only]
extern "C" [C++ only]
void *bsearch(const void *key, const void *base,
size_t nelem, size_t size,
int (*cmp)(const void *ck,
const void *ce));
The function searches an array of ordered values and returns the address of an array element
that equals the search key key (if one exists); otherwise, it returns a null pointer. The array