Search:

Type: Posts; User: Coder Head

Search: Search took 0.00 seconds.

  1. Here, look at this: for(int i = 0; i

    Here, look at this:


    for(int i = 0; i < sizeof(alphabetArray);i++ )
    {

    countFreq = 0;

    for(int j = 0; j < sizeof(buffer); j++)
    {
  2. Well, I'll be a son of a gun! You're getting...

    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...
  3. Just for starters, lines 34 and 38 do nothing, so...

    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....
  4. View Post

    <<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 -...
  5. There are times when you want to just declare...

    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...
Results 1 to 5 of 5