Link to home
Start Free TrialLog in
Avatar of hkaufm2
hkaufm2

asked on

re string search

out of shere time constraint I'll repost my updated querey      I need to call a function form main, my f/p is
void CountLetters(string, length, freq[], SIZE)
string is my string*, length is the size freq is an array[26] size#26
I need to be able to search through the string find the count of each letter and assign into corrospontding space in the array ie freq[0]= # of a's, freq[1] = # of b's both upper and lowers.
I need the array set up that way so I can sort it with anther array that contains the alphabet, need to be able to count the letters and put the values in the array freq
Avatar of kellyjj
kellyjj

Are you wanting examples of how to do the letter counting? or maybe the sorting??  A little more clearity would help.  thanks
Avatar of hkaufm2

ASKER

Edited text of question
Hasn't this been answered under "string search"? If not, how is this question different?
ASKER CERTIFIED SOLUTION
Avatar of rbr
rbr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial