array to count number of repietition of each character
<p>I am a beginner; I want to make an array to count number of repetition of each character on c++.
 for Example: the input array>> [aaa bb cccc] 
              the out put array>>[3 2 4]</p>