how to replace a particular string with empty space ina file using c filehandling
and string functions..
how to replace a particular string with empty space ina file using c filehandling
and string functions..
What have you tried?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
hello...everyone..i am reading a file using c filehandling.i am searching for a particular string in file..if i find that string i need to replace that string with empty spaces in a new file..
how can i replace it? can anyone plz help me
thank you
So, show us what code you have so far in your effort to solve the problem. It is not (for an experienced programmer) a hard problem, but we are not here to DO your exercises for you - that way you won't learn how to do it yourself, which is the general target of exercises.
--
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.
Hope this thing helps you....
Well one more thing... This[directly copying the solution from somewhere else] should usually not be your approach to learn things as formerly mentioned in the replies to your posts....
learn things by yourself....
C Replace String
Hasta La vista..!!!