String

Started by
4 comments, last by Bacterius 11 years ago

Write a method which will remove any given character from string?

Advertisement

We cannot do your homework for you. However, if you provide what you have so far, and explain where you are having trouble, we would be happy to help.

Even lmgtfy has grown old. Really, this very question gives me perfect first hit.

We cannot do your homework for you. However, if you provide what you have so far, and explain where you are having trouble, we would be happy to help.


Yes we can - we can give them wrong answers. :) Maybe then they'll attempt to do their homework for themselves.
Well, the correct answer is, "No."

Does that help?
void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.

You didn't even specify the language, lol. But here is a template for you:


/* insert return type here */ stripChar(/* insert params here */)
{
    /* insert code here */
}

“If I understand the standard right it is legal and safe to do this but the resulting value could be anything.”

This topic is closed to new replies.

Advertisement