How about you do your own homework?
stymiee
He's No Good To Me Dead
3,360 posts since May 2006
Reputation Points: 161
Solved Threads: 38
Exactly. You write the psuedocode first then we'll offer advice. Then you can write your code and we can help after you have written it.
stymiee
He's No Good To Me Dead
3,360 posts since May 2006
Reputation Points: 161
Solved Threads: 38
Did the OP really need 4 posts that say exactly the same thing? C'mon, people, one post is enough.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
Have you done any work on your own yet? I don't see any.
stymiee
He's No Good To Me Dead
3,360 posts since May 2006
Reputation Points: 161
Solved Threads: 38
Suprisingly all those questions have the same answer!!!
#include <stdio.h>
int main() {
printf("Hello World\n");
return 0;
}
sillyboy
Practically a Master Poster
686 posts since Mar 2007
Reputation Points: 85
Solved Threads: 64
Ram, please create your own thread for your question. Hijacking other peoples' thread is against the forum rules.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
That is a different problem than what you posted, above. Extracting m characters, beginning with the nth character, means just that. It does NOT mean "scan the char string for some char and when found, extract m characters".
If you want to post code, PLEASE click on the [CODE] tag icon in the editor window, and put your code between the two code tags that it give you.
That keeps your code, looking like code, and not html text.
Adak
Nearly a Posting Virtuoso
1,479 posts since Jun 2008
Reputation Points: 425
Solved Threads: 185
Ok that's it, I'm done with this thread. In the past 3 years it has been hijacked a gazillion times and split and split again and split again.
For future hijackers-to-be:
Read the rules :
Do not piggyback threads (aka "hijack" threads) by posting your question as a reply to another question.
Closed.
Nick Evan
Not a Llama
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403