Standard Header Files


 

The standard C++ library is a collection of functions, constants, classes and objects that extends the C++ language providing basic functionality to interact with the operating system and some standard classes, objects and algorithms that may be commonly needed. A List of the functions declared in each of the header files is given below:

1. ALLOC.H Declares memory-management functions (allocation,deallocation, and so on).
2. ASSERT.H Defines the assert debugging macro.
3. BIOS.H Declares various functions used in calling IBM-PC ROM BIOS routines.
4. CONIO.H  Declares various functions used in calling the operating system console I/O routines. 
5. CTYPE.H Contains information used by the character classification and character conversion macros 
6. DIR.H  Contains structures, macros, and functions for working with directories and path names.
7. DOS.H Defines various constants and gives declarations needed for DOS and 8086-specific calls.
8. FLOAT.H Contains parameters for floating-point routines.
9. IO.H Contains structures and declarations for low-level input/output routines.
10. LOCALE.H Declares functions that provide country- and language-specific information.
11. MATH.H Declares prototypes for the math functions and math error handlers.
12. MEM.H Declares the memory-manipulation functions. (Many of these are also defined in string.h.)
13. PROCESS.H Contains structures and declarations for the spawn... and exec... functions.
14. SETJMP.H Declares the functions longjmp and setjmp and defines a type jmp_buf that these functions use.
15. SIGNAL.H Defines constants and declarations for use by the signal and raise functions.
16. STDARG.H Defines macros used for reading the argument list in functions declared to accept a variable number of arguments
17. STDIO.H Defines types and macros needed for the standard I/O package defined in Kernighan and Ritchie and extended under UNIX System V. Defines the standard I/O predefined streams stdin, stdout, stdprn, and stderr and declares stream-level I/O routines. 
18. STDLIB.H Declares several commonly used routines such as conversion routines and search/sort routines. 
19. STRING.H Declares several string-manipulation and memory-manipulation routines.
20. STAT.H Defines symbolic constants used for opening and creating files. 
21. TIMEB.H Declares the function ftime and the structure timeb that ftime returns.
22. TIME.H Defines a structure filled in by the time-conversion routines asctime, localtime, and gmtime, and a type used by the routines ctime, difftime, gmtime, localtime, and stime. It also provides prototypes for these routines.

 

 

<ALLOC.H>

brk calloc coreleft
farcalloc farcoreleft farfree
farheapcheck farheapcheckfree farheapchecknode
farheapfillfree farheapwalk farmalloc
farrealloc free heapcheck
heapcheckfree heapchecknode heapwalk
malloc realloc sbrk

 

<ASSERT.H>
assert NDEBUG

 

<BIOS.H>
bioscom biosdisk biosequip bioskey
biosmemory biosprint biostime  

 

<CONIO.H>
cgets clreol clrscr cprintf
cputs cscanf delline getch
getche getpass gettext gettextinfo
gotoxy highvideo insline kbhit
lowvideo movetext normvide putch
puttext _setcursortype textattr textbackground
textcolor textmode ungetch wherex
wherey window    

 

<CTYPE.H>
isalnum isalpha isascii iscntrl
isdigit isgraph islower isprint
ispunct isspace isupper isxdigit
toascii tolower _tolower toupper
_toupper      

 

<DIR.H>
chdir findfirst findnext fnmerge
fnsplit getcurdir getcwd getdisk
mkdir mktemp rmdir searchpath
setdisk      

 

<DOS.H>
absread abswrite allocmen bdos
bdosptr country ctrlbrk delay
disable dosexterr dostounix _emit_
enable FP_OFF FP_SEG freemem
geninterrupt getcbrk getdate getdfree
getdta getfat getfatd getftime
getpsp gettime getvect getverify
harderr hardresume hardretn inp
inport inportb int86 int86x
intdos intdosx intr keep
MK_FP nosound outp outport
outportb parsfnm peek peekb
poke pokeb randbrd randbwr
segread setblock setcbrk setdate
setdta settime setvect setverify
sleep sound unixtodos unlink

 

<FLOAT.H>
_clear87 _fpreset _control87 _status87

 

<IO.H>
access chmod _chmod chsize
close _close creat _creat
creatnew creattemp dup dup2
eof filelength getftime ioctl
satty lock lseek open
_open read _read setftime
setmode sopen tell unlink
unlock write _write  

 

<LOCALE.H>
localeconv setlocale

 

<MATH.H>
abs acos asin atan
atan2 atof cabs ceil
cos cosh exp fabs
floor fmod frexp hypot
labs ldexp log log10
matherr modf poly pow
pow10 sin sinh sqrt
tan tanh    

 

<MEM.H>
memccpy memchr memcmp memcpy
memicmp memmove memset movedata
movmem setmem    

 

<PROCESS.H>
abort exit execv spawnv
execl spawnl execve spawnve
execle spawnle execvp spawnvp
execlp spawnlp execvpe spawnvpe
execlpe spawnlpe _exit system

 

<SETJMP.H>
longjmp setjmp

 

<SIGNAL.H>
raise signal

 

<STDARG.H>
va_arg va_end va_start

 

<STDIO.H>
clearerr fclose fcloseall fdopen
feof ferror fflush fgetc
fgetchar fgetpos fgets fileno
flushall fopen fprintf fputc
fputchar fputs fread freopen
fscanf fseek fsetpos ftell
fwrite getc getchar gets
getw perror printf putc
putchar puts putw remove
rename rewind scanf setbuf
setvbuf sprintf sscanf strerror
strerror tmpfile tmpnam ungetc
unlink vfprintf vfscanf vprintf
vscanf vsprintf vsscanf  

 

<STDLIB.H>
abort abs atexit atof
atoi atol bsearch calloc
div ecvt exit _exit
fcvt free gevt getenv
itoa labs ldiv lfind
_lrotl _lrotr lsearch ltoa
malloc max min putenv
qsort rand random randomize
realloc _rotl _rotr srand
strtod strtol strtoul swab
system ultoa    

 

<STRING.H>
memccpy memchr memcmp memcpy
memicmp memmove memset movedata
movmem setmem stpcpy strcat
strchr strcmp strcmpi strcpy
strcspn strdup _strerror strerror
stricmp strlen strlwr strncat
strncmp strncmpi strncpy strnicmp
strnset strpbrk strrchr strrev
strset strspn strstr strtok
strupr      

 

<STAT.H>
fstat stat

 

<TIMEB.H>
ftime  

 

<TIME.H>
asctime CLK_TCK clock ctime
difftime gmtime localtime stime
time tzset    


 

  Previous:
  Demon's Layer

 

 

Home

The Demon's Layer

Programming in C++

C++ Language Tutorial

The C++ Programming Quizzes