Tuesday, July 28, 2009

C program help?

How do i write a program to change F to fr everywhere in a piece of text in C or c++?

C program help?
scan for the letter f every time a f is found


change f to fr duh?





post whatever code you have now and i help but im not writing the whole thing for you sorry
Reply:String.Replace("F","fr");
Reply:you load the cstring in an array of char type and you compare with F


char name[100];


if (strcmp(name,F)==0)


cout%26lt;%26lt;fr;

florist shop

No comments:

Post a Comment