<cstdlib>
Home Up

 

Same level pages:
<algorithms>
<cassert>
<cerrno>
<cctype>
<cfloat>
<climits>
<clocale>
<cmath>
<complex>
<csetjmp>
<csignal>
<cstdarg>
<cstddef>
<cstdio>
<cstdlib>
<cstring>
<ctime>
<cwchar>
<cwctype>
<exception>
<fstream>
<functional>
<iomanip>
<ios>
<iostream>
<istream>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
<ostream>
<sstream>
<stdexcept>
<streambuf>
<string>
<typeinfo>
<utility>
<valarray>

Parent level pages:
STL
FAQs
Headers
Libraries

<cstdlib> plays many roles, including
Start and Termination for Language Support 
Other Runtime Support for Language Support
General Utilities
String Library
Numerics Library

Macros

EXIT_FAILURE
 
EXIT_SUCCESS
 
MB_CUR_MAX

RAND_MAX
 

Typedefs

div_t
 
ldiv_t

Functions

abort()
 
atexit()
 
exit()
 
getenv()
 
system()

Memory Allocation Functions

calloc()
 
free()
 
malloc()
 
realloc()

String Functions

atol()
 
atof()
 
atoi()
 
mblen()
 
mbstowcs()
 
mbtowc()
 
strod()
 
strol()
 
stroul()
 
wctomb()
 
wcstombs()
 

Numeric Functions

abs()
 
div()
 
labs()
 
ldiv()
 
srand()
 
rand()
The rand function returns a pseudorandom integer in the range 0 to RAND_MAX. Use the srand function to seed the pseudorandom-number generator before calling rand.
 
ŠPaul Buis & Ball State University Author: Paul Buis (peb@bsu.edu) Last Modified:10/31/00 02:53 PM

NOTICE: The information presented on this page represents the personal views, ideas, and opinions of the author. This is not an official Ball State University web page. Links contained at this web site to other organizations, are presented as a service and neither constitute nor imply university endorsement or warranty.