Hello guys
I need quick help
I need a code that reads from a text file and then shows how many “a ,b, c ….” I have in the text

We're not a homework service. If you need specific help, we'll be happy to provide it, but if you want us to do it all for you, expect stony silence and/or sarcasm.

Hello guys
I need quick help
I need a code that reads from a text file and then shows how many “a ,b, c ….” I have in the text

You have got a simple homework
have an array of 26 element like int count[26]
read the file character by character, if character belongs is one of a-z
make count[c-'a']++

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.