i did it now, it is working, i used this
Code:
char samoglasnik_p[]={'a','A','e','E','i','I','O','o','U','u'};
char as[10]={'!','"','.','?','+',';','-',':',' ','*'};
and i compare them, its working. But is there a way to tell to program which sign is number, letter or other signs, without the need to put them into fields.

for exp. by putting
Code:
buffer[i]>='a' && buffer[i]<='z'
i included all letters from a to z, only lower case but... do you get my point?