ctype.h , , .
:
int c;
5.3
isalpha (c) | , |
isdigit (c) | , |
islower (c) | , |
isspace (c) | , (, ) |
issuper (c) | , |
isascii (c) | , A S C I I |
iscntrl (c) | , |
ispunct (c) | , |
isalnum (c) | , |
:
isalpha (s)! = 0
isalpha (#) = = 0
isalpha(c) (), , ( ) - . :
atoi(), atof()
atoi() .
atof() .
: itoa() , ftoa() .
:
/* atoi()*/
#include <stdio.h>
main()
{
static char number [10];
int value;
puts( );
gts(number);
value = atoi (number);
printf( %d\n,value);
}
atoi(), , , . , .
atof() 䳿 . double, double .
ASCII-. ASCII- .
1. ?
2. ASCII- ?
3. .
4. .
5. ?
6 . '. '. .
ᒺ. .
1. .
2. . . ᒺ . .
3. .
1. ( ), . , .
|
|
) , .
) g , , .
2. , . f, . :
) ;
) .
3. f, . ( , ).
) , 1960 .
) . , . , .
4. f, : , . .
5. f, . , . :
) ;
) ;
) .
6. f, : ( ), (, , ) (, , ). :
) ᒺ;
) 3 , 5 .