Name: Anonymous 2007-05-11 16:50 ID:tCgeez6Q
I receive a string, and I want to remove any 'a', 'b' and 'c' characters, in a recursive way.
How do I do this in C and Java?
Thanks
How do I do this in C and Java?
Thanks
char *removeCharacters(char *string,char removeMe)
{
int i;
int length;
for(length = 0;string[length]!='\0';length++){}
char *newString = malloc(sizeof(char) * length);
for(length = 0;string[length]!='\0';length++)
{
if(string[length]==removeMe)
{
for
}
}