.


:




:

































 

 

 

 


1.




. #include. , .

19.

complex.h
ctype.h ,
errno.h ,
iostream
limits.h ,
signal.h
math.h
stdio.h
stdlib.h ,
string.h
time.h

 

20.

complex.h

cabs, cabsf, cabsl
cacos, cacosf, cacosl
cacosh, cacoshf, cacoshl
carg, cargf, cargl
casin, casinf, casinl
casinh, casinhf, casinhl
catan, catanf, catanl
catanh, catanhf, catanhl
ccos, ccosf, ccosl
ccosh, ccoshf, ccoshl
cexp, cexpf, cexpl
cimag, cimagf, cimagl
clog, clogf, clogl
conj, conjf, conjl
cpow, cpowf, cpowl
cproj, cprojf, cprojl
creal, crealf, creall
csin, csinf, csinl
csinh, csinhf, csinhl
csqrt, csqrtf, csqrtl
ctan, ctanf, ctanl
ctanh, ctanhf, ctanhl

 

21.

ctype.h

,
isalnum
isalpha
iscntrl
isdigit
isgraph ,
islower
isprint ,
ispunct , ,
isspace
isupper
isxdigit

 

22.

errno.h

E2BIG
EACCES
EAGAIN
EBADF
EBADMSG
EBUSY
ECANCELED
ECHILD
EDEADLK
EDOM
EEXIST
EFAULT
EFBIG
EINPROGRESS
EINTR
EINVAL
EIO -
EISDIR
EMFILE
EMLINK
EMSGSIZE
ENAMETOOLONG
ENFILE
ENODEV
ENOENT
ENOEXEC
ENOLCK
ENOMEM
ENOSPC
ENOSYS
ENOTDIR
ENOTEMPTY
ENOTSUP
ENOTTY -
ENXIO
EPERM
EPIPE
ERANGE
EROFS
ESPIPE
ESRCH
ETIMEDOUT
EXDEV

 

23.

iostream.h

cin .
cout .
cerr .

 

24.

limits.h

32- 64-
CHAR_BIT     ≥ 8
SCHAR_MIN char −128 −128 ≤ -127
SCHAR_MAX char +127 +127 ≥ +127
UCHAR_MAX char +255 +255 ≥ +255
CHAR_MIN char −128 −128 ≤ -127( char char; 0)
CHAR_MAX char +127 +127 ≥ +127 ( char char; +255)
MB_LEN_MAX , 4 , 4 ≥ 1
SHRT_MIN short int −32,768 −32,768 ≤ -32,767
SHRT_MAX short int +32,767 +32,767 ≥ +32,767
USHRT_MAX short int +65,535 +65,535 ≥ +65,535
INT_MIN int −2,147,483,648 −2,147,483,648 ≤ -32,767
INT_MAX int +2,147,483,647 +2,147,483,647 ≥ +32,767
UINT_MAX int +4,294,967,295 +4,294,967,295 ≥ +65,535
LONG_MIN long int −2,147,483,648 −9,223,372,036,854,775,808 ≤ -2,147,483,647
LONG_MAX long int +2,147,483,647 +9,223,372,036,854,775,807 ≥ +2,147,483,647
ULONG_MAX long int +4,294,967,295 +18,446,744,073,709,551,615 ≥ +4,294,967,295
LLONG_MIN long long int −9,223,372,036,854,775,808 −9,223,372,036,854,775,808 ≤ -9,223,372,036,854,775,807
LLONG_MAX long long int +9,223,372,036,854,775,807 +9,223,372,036,854,775,807 ≥ +9,223,372,036,854,775,807
ULLONG_MAX long long int +18,446,744,073,709,551,615 +18,446,744,073,709,551,615 ≥ +18,446,744,073,709,551,615

 

25.

limits.h

SIGHUP POSIX
SIGINT ANSI
SIGQUIT POSIX
SIGILL ANSI
SIGABRT ANSI
SIGTRAP POSIX
SIGIOT - 4.2 BSD
SIGEMT 4.2 BSD
SIGFPE ANSI
SIGKILL POSIX
SIGBUS 4.2 BSD
SIGSEGV ANSI
SIGSYS 4.2 BSD
SIGPIPE POSIX
SIGALRM POSIX
SIGTERM ANSI
SIGUSR1 1 POSIX
SIGUSR2 2 POSIX
SIGCHLD POSIX
SIGCLD SIGCHLD System V
SIGPWR System V
SIGXCPU POSIX

 

26.

math.h

acos
asin
atan
atan2
ceil
cos
cosh
exp
fabs ( )
floor
fmod
frexp .
ldexp
log
log10 10
modf(x,p) ( )
pow(x,y) x y, xy
sin
sinh
sqrt
tan
tanh

 

27.

stdio.h

fclose , FILE *
fopen, freopen, fdopen
remove ( )
rename
rewind fseek(stream, SEEK_SET), ,
tmpfile , fclose()
-
clearerr EOF
feof , EOF
ferror ,
fflush , , ,
fgetpos , (FILE *), (fpos_t *)
fgetc
fgets ( )
fputc
fputs
ftell , fseek
fseek
fsetpos , (FILE *), (fpos_t *)
fread
fwrite
getc ; , fgetc, ,
getchar , getc(stdin)
gets stdin
printf, vprintf
fprintf, vfprintf
sprintf, snprintf, vsprintf char ( )
perror stderr
putc ; , fputc, ,
putchar, fputchar putc(stdout)
scanf, vscanf
fscanf, vfscanf
sscanf, vsscanf char ( )
setvbuf
tmpnam
ungetc
puts stdout

 

28.

stdlib.h

abort void abort(void);
abs int abs(int i);
assert void assert(int expression);
atexit int atexit(void (*function)(void);
atof, atoff double float double atof(const char *s); float atoff(const char *s);
atii, atol int atoi(const char *s); long atol(const char *s);
atol long long atol(const char *s);
bsearsh void *bsearch(const void *key, const void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
calloc void *calloc(size_t n, size_t s); void *calloc_r(void *reent, size_t <n>, <size_t> s);
div div_t div(int n, int d);
ecvt, ecvtf, fcvt, fcvtf double float char *ecvt(double val, int chars, int *decpt, int *sgn); char *ecvtf(float val, int chars, int *decpt, int *sgn);
gvcvt, gcvtf double float char *gcvt(double val, int precision, char *buf); char *gcvtf(float val, int precision, char *buf);
ecvtbuf, fcvtbuf Double float char *ecvtbuf(double val, int chars, int *decpt, int *sgn, char *buf); char *fcvtbuf(double val, int decimals, int *decpt, int *sgn, char *buf);
exit void exit(int code);
getenv char *getenv(const char *name);
labs long labs(long i);
ldiv y ldiv_t ldiv(long n, long d);
malloc, realloc, free void *malloc(size_t nbytes); void *realloc(void *aptr, size_t nbytes); void free(void *aptr);
mbtowc int mbtowc(wchar_t *pwc, const char *s, size_t n);
qsort void qsort(void *base, size_t nmemb, size_t size,int (*compar)(const void *, const void *));
rand, srand - int rand(void); void srand(unsigned int seed); int _rand_r(void *reent); void _srand_r(void *reent, unsigned int seed);  
strtod, strtodf double float double strtod(const char *str, char **tail); float strtodf(const char *str, char **tail); double _strtod_r(void *reent, const char *str, char **tail);
strtol long ong strtol(const char *s, char **ptr,int base);
strtoul unsigned long unsigned long strtoul(const char *s, char **ptr, int base);
system int system(char *s); int _system_r(void *reent, char *s);
wctomb int wctomb(char *s, wchar_t wchar);

 

29.

string.h

void *memcpy(void *dest, const void *src, size_t n); n src dest, , ( , )
void *memmove(void *dest, const void *src, size_t n); n src dest, memcpy
void *memchr(const void *s, char c, size_t n); c n s, NULL,
int memcmp(const void *s1, const void *s2, size_t n); n
void *memset(void *, int z, size_t); z
char *strcat(char *dest, const char *src); src dest
char *strncat(char *, const char *, size_t); n src ( src, ) dest
char *strchr(const char *, int); , , NULL
char *strrchr(const char *, int); , , NULL
int strcmp(const char *, const char *);
int strncmp(const char *, const char *, size_t); n
int strcoll(const char *, const char *); collating order
char *strcpy(char *toHere, const char *fromHere);
char *strncpy(char *toHere, const char *fromHere, size_t); n
char *strerror(int); errno ( -)
size_t strlen(const char *);
size_t strspn(const char *s, const char *accept); , , accept
size_t strcspn(const char *s, const char *reject); , , reject
char *strpbrk(const char *s, const char *accept); , accept
char *strstr(const char *haystack, const char *needle); needle haystack
char *strtok(char *, const char *); . -, .
size_t strxfrm(char *dest, const char *src, size_t n); , , (strcmp) .

 

30.

time.h

int tm_sec; (0,61)
int tm_min; (0,59)
int tm_hour; (0,23)
int tm_mday; (1,31)
int tm_mon; (0,11)
int tm_year; 1900
int tm_wday; (0,6)
int tm_yday; (0,365)
int tm_isdst;

 





:


: 2016-10-22; !; : 12636 |


:

:

, , 1:10
==> ...

1706 - | 1638 -


© 2015-2024 lektsii.org - -

: 0.02 .