Here, look at this:
for(int i = 0; i < sizeof(alphabetArray);i++ )
{
countFreq = 0;
for(int j = 0; j < sizeof(buffer); j++)
{
Type: Posts; User: Coder Head
Here, look at this:
for(int i = 0; i < sizeof(alphabetArray);i++ )
{
countFreq = 0;
for(int j = 0; j < sizeof(buffer); j++)
{
Well, I'll be a son of a gun! You're getting closer! I think you are only two small adjustments away from getting this to work.
This statement: sizeof(alphabetArray) took care of looping the 26...
Just for starters, lines 34 and 38 do nothing, so you can remove them with no effect.
When you declare i and j outside the two for loops, you don't need to define them again inside the for loops....
<<My code is correctly counting the number of duplicates (or not)... >>
Well darling, it's not. You have a few errors here. I will clue you in on the errors.
for(int i = 0; i < (sizeTwo -...
There are times when you want to just declare something without defining it. When you define something, like a variable or function, it takes up a home, i.e., a memory location with an address. So...