Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
how to replace a word in a given file with another word ?
that file may contain a single sentence or a passage. while replaceing the word the spaces left have to be deleted if the given word is smmaler than tha actual word in the passage and if the given word is bogger than the actual word exrta space have to be created at he actual word so that the given word may fit at hat place
i have used files and file reading concepts and some funtions in strings
can anyone send me the required solution i am very much in need of that