documentation
.HELP!
C++ Reference Documentation
c:mem:start
C++ Reference
previous page
next page
Standard C Memory
calloc
allocates and clears a two-dimensional chunk of memory
free
returns previously allocated memory to the operating system
malloc
allocates memory
realloc
changes the size of previously allocated memory
previous page
start
next page
Menu
Homepage
Table of contents
cppreference.com
Overview
General Topics
FAQ
Preprocessor Commands
Operator Precedence
Escape Sequences
ASCII Chart
Data Types
Keywords
Time Complexity
Credits
Standard C
Overview
All Functions
Date & Time Functions
I/O Functions
Math Functions
Memory Functions
Other Functions
String & Character
Standard C Date & Time
asctime
clock
ctime
datime
difftime
gmtime
localtime
mktime
setlocale
strftime
time
Standard C I/O
clearerr
fclose
feof
ferror
fflush
fgetc
fgetpos
fgets
fopen
fprintf
fpurge
fputc
fputs
fread
freopen
fscanf
fseek
fsetpos
ftell
fwrite
getc
getchar
gets
perror
printf
putc
putchar
puts
remove
rename
rewind
scanf
setbuf
setvbuf
snprintf
sprintf
sscanf
tmpfile
tmpnam
ungetc
vprintf_vfprintf_vsprintf
vscanf_vfscanf_vsscanf
Standard C Math
abs
acos
asin
atan
atan2
ceil
cos
cosh
div
exp
fabs
factorial_double_num
floor
fmod
fmtchg
frexp
hexchk
labs
ldexp
ldiv
log
log10
modf
pow
sin
sinh
sin_float
sqrt
tan
tanh
value
Standard C Memory
calloc
free
malloc
realloc
Other Standard C functions
abort
assert
atexit
bsearch
exit
getenv
longjmp
qsort
raise
rand
setjmp
signal
srand
system
va_arg
Standard C String & Character
atof
atoi
atol
isalnum
isalpha
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
memchr
memcmp
memcpy
memmove
memset
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strerror
strlcat
strlcpy
strlen
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtod
strtok
strtol
strtoul
strtrm
strxfrm
tolower
toupper
C++
Overview
Containers
Iterators
Header Files
Exceptions
C++ Algorithms
C++ Bitsets
C++ Double-ended Queues
C++ I/O
C++ Stacks
C++ Strings
C++ String Streams
C++ Sets
C++ Queues
C++ Priority Queues
C++ Multisets
C++ Multimaps
C++ Vectors
The <utility> header file
STL Memory Utilities
C++ Maps
C++ Lists
Preprocessor
Preprocessor Conditionals
Preprocessor Variables
# and ##
#define
#error
#include
#line
#pragma
#undef
Keywords
asm
auto
bool
break
case
casting_comparison
catch
char
class
const
const_cast
continue
default
delete
do
double
dynamic_cast
else
enum
explicit
export
extern
false
float
for
friend
goto
if
inline
int
long
mutable
namespace
new
operator
private
protected
public
register
reinterpret_cast
return
short
signed
sizeof
static
static_cast
struct
switch
template
this
throw
true
try
typedef
typeid
typename
union
unsigned
using
virtual
void
volatile
wchar_t
while
Standard Template Library
algorithm
accumulate
adjacent_difference
adjacent_find
binary_search
copy
copy_backward
copy_n
count
count_if
equal
equal_range
fill
fill_n
find
find_end
find_first_of
find_if
for_each
generate
generate_n
includes
inner_product
inplace_merge
is_heap
is_sorted
iter_swap
lexicographical_compare
lexicographical_compare_3way
lower_bound
make_heap
max
max_element
merge
min
min_element
mismatch
next_permutation
nth_element
partial_sort
partial_sort_copy
partial_sum
partition
pop_heap
prev_permutation
push_heap
random_sample
random_sample_n
random_shuffle
remove
remove_copy
remove_copy_if
remove_if
replace
replace_copy
replace_copy_if
replace_if
reverse
reverse_copy
rotate
rotate_copy
search
search_n
set_difference
set_intersection
set_symmetric_difference
set_union
sort
sort_heap
stable_partition
stable_sort
swap
swap_ranges
transform
unique
unique_copy
upper_bound
bitset
any
bitset_constructors
bitset_operators
count
flip
none
reset
set
size
test
to_string
to_ulong
deque
assign
at
back
begin
clear
deque_constructors
deque_operators
empty
end
erase
front
insert
max_size
pop_back
pop_front
push_back
push_front
rbegin
rend
resize
size
swap
iostream
bad
clear
close
constructors
eof
examples
exceptions
fail
fill
flags
flush
gcount
get
getline
good
ignore
io_flags
open
peek
precision
put
putback
rdstate
read
seekg
seekp
setf
sync_with_stdio
tellg
tellp
unsetf
width
write
list
assign
back
begin
clear
empty
end
erase
front
insert
list_constructors
list_operators
max_size
merge
pop_back
pop_front
push_back
push_front
rbegin
remove
remove_if
rend
resize
reverse
size
sort
splice
swap
unique
map
begin
clear
count
empty
end
equal_range
erase
find
insert
key_comp
lower_bound
map_constructors
map_operators
map_typedefs
max_size
rbegin
rend
size
swap
upper_bound
value_comp
memory
auto_ptr
multimap
begin
clear
count
empty
end
equal_range
erase
find
insert
key_comp
lower_bound
max_size
multimap_constructors
multimap_operators
rbegin
rend
size
swap
upper_bound
value_comp
multiset
begin
clear
count
empty
end
equal_range
erase
find
insert
key_comp
lower_bound
max_size
multiset_constructors
multiset_operators
rbegin
rend
size
swap
upper_bound
value_comp
nonstandard
sleep
start
usleep
priority_queue
empty
pop
pqueue_constructors
push
size
top
queue
back
empty
front
pop
push
queue_constructors
size
set
begin
clear
count
empty
end
equal_range
erase
find
insert
key_comp
lower_bound
max_size
rbegin
rend
set_constructors
set_operators
size
swap
upper_bound
value_comp
sstream
constructors
operators
rdbuf
str
stack
empty
pop
push
size
stack_constructors
top
string
append
assign
at
begin
capacity
clear
compare
copy
c_str
data
empty
end
erase
find
find_first_not_of
find_first_of
find_last_not_of
find_last_of
getline
insert
length
max_size
push_back
rbegin
rend
replace
reserve
resize
rfind
size
string_constructors
string_operators
substr
swap
utility
make_pair
pair
vector
assign
at
back
begin
capacity
clear
empty
end
erase
front
insert
max_size
pop_back
push_back
rbegin
rend
reserve
resize
size
swap
vector_constructors
vector_operators
Get in touch
Submit feedback about this site to:
[email protected]