Click to See Complete Forum and Search --> : one querry on strings


jaanviragu
July 18th, 2007, 06:10 AM
How can we convert a string "abcdbbacd" to "abbbcdbbbbacd" that is replacing a 'b' with 'bbb' and a 'bb' with 'bbbb' using c or c++ programing.

JohnW@Wessex
July 18th, 2007, 07:01 AM
Is this homework?
What have you tried so far?