Dev C++ Find And Replace

Writing a function strreplace(s,chr,repl_chr) to replace the character 'chr' with character 'repl_chr' in a givne string s.

Find and replace facilities - CVS support Source code: Delphi 6 Source code of Dev-C is available for free under the GNU General Public License (GPL) Authors: Colin Laplace, Mike Berg, Hongli Lai: Development Mingw compiler: Mumit Khan, Jan Jaap van der Heidjen, Colin Hendrix and GNU coders. Dev-C is Free Software distributed under the GNU General Public License. This means you are free to distribute and modify Dev-C, unlike most Windows software!Be sure the read the license. Please support Dev-C by making a donation! The money will be shared between the active developers and the support manager in order to help us continue improving Dev-C from day to day.

I have done so far with following code. Getting awkward output.

Thanx.

  • 5 Contributors
  • forum 14 Replies
  • 18,558 Views
  • 3 Years Discussion Span
  • commentLatest Postby Reverend JimLatest Post
Dev

C++ Find And Replace

somjit{}28

Dev C Find And Replace Windows

i think i have an idea of whats happening , but when you say awkward output , posting the awkwardness here would help tame it :)

note : scanf() to read a character is a very bad idea.
read more from here