Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
PRELUCRAREA SIRURILOR DE
CARACTERE IN LIMBAJ C++
char x[ ] = Anca ;
char x=Anca ;
char x[ ]={ A , B , 0 } ;
char x=A ;
char x[ ] ;
char *p= Anca ;
char x[ ]=A1B2c345;
Afieaz
puts( strchr(x,51) ) ;
char x[ ]=A1B2c345;
puts( strpbrk(x, 452) ) ;
char x[ ]=A1B2c345;
puts( x+strspn(x, c31A) ) ;
char x[ ]=A1B2c345;
puts(strspn(x+1,12B)+x+1) ;
B2c345
pe
ecran
char x[ ]= A123BC45CD77;
strtok(x, ABCD )
char *p=.
;
p
while ()
{
p
puts(.)
;
strtok(NULL, ABCD )
p=
;
}
(atoi(x)+atof(y) == 0)
cout<< ;
cout<< ;
(strpbrk(x, 0123456789)- x == 3)
cout<< ;