I need to call a function in int main() that is in a switch statement. This function holds a sentence and counts how many a's,b's, c's, etc. are in that sentence. I feel like I'm really close, however I am really new to this and it's late and I'm stuck. Any help will be appreciated thanks.
[code]
Sorry, what I was trying to ask (late nights aren't good for the mind) is is my code within the function input() look right? My compiler is giving me an error where it says inbuf[257]: error expression needs class type?