Hi lakapoor,
Ed's message has lot of meaning. Pls try to follow what he is saying.
why you are trying like this
int main()
{
solution=ask_somebody(problem);
return(0);
}
Why cannot be it like this
int main()
{
solution=I_tried(problem);
if(solution!=expected_result)
{
solution=I_tried(problem)+ask_somebody(problem,I_tried
(problem));
}
return;
}
regards
Mahesh Bhat
--- In [email protected], ed <[EMAIL PROTECTED]> wrote:
>
> On Sun, 30 Sep 2007 11:53:38 -0000
> "lakapoor" <[EMAIL PROTECTED]> wrote:
>
> > hi to all.i am new to c.
>
> i have been c-ing since birth... i was not born blind.
>
> > pls give me source code for a Question,
>
> Oh Ok then.
>
> int main() {
> write( 1, "To be or not to be, that is the question\n", 42 );
> return(0);
> }
>
>
> > ==to find no. of palindrome in a paragraph taken from the user.
> > pls tell me how to extract each word & check.
> > thanks
>
> Why don't you first prototype this with a different language, such
as
> perl, then translate it bit by bit to another language.
>
> I *seriously* hope that someone informs your tutors of your
plagiarism,
> where I come from this is a serious matter.
>
> --
> The 14.4 dialup to your cube is bouncing like a rubber biscut
because
> of a screwed up .procmailrc file. Redback is pumping a grumpy.
> :: http://www.s5h.net/ :: http://www.s5h.net/gpg
>
>
> [Non-text portions of this message have been removed]
>