SOS. Yes, we are allowed to use inbuilt functions. I tried to edit the above code but somehow I cannot change it. And Dragon, I understand why we use 255, it's quicker, and more accurate.

If you are allowed to use inbuilt functions, why are you writing your own code for makeing the characters uppercase. Just use:

for( i = 0; i < MAX_LETTERS; ++i )
    letters[i] = toupper( letters[i] ) ;

This will make the entire contents of the array uppercase.

Loop through array with something like to count each character:

for( i = 0; i < num_used; ++i )
    count[ letters[i] ] ++ ;

Try this thing and repost.

Hey all,
I handed the project in and we'll see how it all turned out. Thanks and God Bless.

I think we can close this thread as solved. Thanks again.

You can show that this thread is solved by clicking the link "Mark this thread as solved" at the top of this page (it's beside the other links titled "Show printable version" and "Email this page").