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.
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
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
This link has all the information you will need to do that assignment.
QuantumPete
"No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
"Have you tried turning it off and on again?" - The IT Crowd
Wow... that may be the easiest homework problem I've ever seen posted on one of these boards.