User: slothybear

  • Public profile

User profile: slothybear

User info
User name:slothybear
History
Joined:
Number of posts:5
Latest posts:

Count occurrences of every character in a string
[code] if(counts[i]>0) { cout << static_cast<char>(i + 'a') << ": " << counts[i] << " times." << en...

Count occurrences of every character in a string
okay well that didn't work I'm not sure what to do to make it not print the ones that don't occur

Count occurrences of every character in a string
Okay thank you! Now it does work so it goes through the string and counts all the letters, but it st...

Count occurrences of every character in a string
How would I make it loop just the amount that's in the string? Should I make a function or something...

Count occurrences of every character in a string
(Count occurrence of each letter in a string) Write a function that counts the occurrence of each le...

This user does not accept Private Messages