View Single Post
Old 10-14-2004, 07:42 PM   #46 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
void count_chars()
{
for(unsigned i=0; i<sSentence.size(); ++i)
for(unsigned j=0; j<CHARS; ++j)
if( sSentence.substr(i,1) == theAlphabet.substr(j,1) )
theAlphabetCount[j]++;
}

this is the last thing i don't get
Androto is offline   Reply With Quote