Thanks for reading it .
i hope u understand wat i mean.
Well, No. Have you abbreviated 'the' to 'd' in your sentences?
Are you trying to count the number of occurences of each character in the file? If so, you could store the count in a map, or even an array.
e.g. int count[256]; // the index is the character, the value is the count
and increment the counter in your loop: count[(unsigned char)charin]++