Having major problems(C++ student) trying to figure the code that will report the number of instances of a character in a string.
Using elementary code (Borland Builder5)
The section of code has to:
read in a string value from the keyboard
read in a character from the keyboard
report the number of occurrences of the character
then replace the selected character with the asterisk character and write out the revised string.
Any help appreciated