Find character occurrences in a file c++
Could you please tell me, how to count the occurrence of each individual letter   

(for example "d","c",....) in a given file that contain random letter sequence (for example" asjdjuendncnwjashdnd...") and display the answer as percentage (for example d found 10 times so it would be 15% of the file letters). 
Find character occurrences in a file c++
===

Could you please tell me, how to count the occurrence of each individual letter   

(for example "d","c",....) in a given file that contain random letter sequence (for example" asjdjuendncnwjashdnd...") and display the answer as percentage (for example d found 10 times so it would be 15% of the file letters). 