cplusplus.com cplusplus.com
cplusplus.com   C++ : Reference : C Library : cstddef
 
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forum
Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
C Library
cassert (assert.h)
cctype (ctype.h)
cerrno (errno.h)
cfloat (float.h)
climits (limits.h)
clocale (locale.h)
cmath (math.h)
csetjmp (setjmp.h)
csignal (signal.h)
cstdarg (stdarg.h)
cstddef (stddef.h)
cstdio (stdio.h)
cstdlib (stdlib.h)
cstring (string.h)
ctime (time.h)
cstddef (stddef.h)
macros:
· NULL
· offsetof
types:
· ptrdiff_t
· size_t

-

cstddef (stddef.h) header

C Standard definitions

cstddef defines the following types:

ptrdiff_t Result of pointer subtraction (type)
size_t Unsigned integral type (type)

The following macro with functional form:

offsetof Return member offset (macro)

And the following macro with a constant value:

NULL Null pointer (macro)

In the C language, this header also includes the declaration of the wchar_t type (wide character type), which in C++ is a fundamental type and therefore does not require the inclusion of any header.


© The C++ Resources Network, 2000-2007 - All rights reserved
Spotted an error? - contact us