Suppose a string contains dot as character( say, "c++ is good programming." ). Find the position of dot( . ) using standard find function and then print the whole string.
Printable View
Suppose a string contains dot as character( say, "c++ is good programming." ). Find the position of dot( . ) using standard find function and then print the whole string.
And what are you asking our advice on? I presume you would consider it cheating that we solve your assignment, so it would perhaps be a good idea to be more specific about what you are asking for?
--
Mats
This link has all the information you will need to do that assignment.
QuantumPete
Wow... that may be the easiest homework problem I've ever seen posted on one of these boards.