Re: [algogeeks] reverse a line.

2011-07-21 Thread Saurabh
glegroups.com >>> *Date: *Thu, 21 Jul 2011 17:15:29 +0530 >>> *To: * >>> *ReplyTo: *algogeeks@googlegroups.com >>> *Subject: *[algogeeks] reverse a line. >>> >>> what is the best way to reverse a line word by word in c or c++??? >>> >&g

Re: [algogeeks] reverse a line.

2011-07-21 Thread dinesh bansal
> Sent from BlackBerry® on Airtel >> -- >> *From: *Saurabh >> *Sender: *algogeeks@googlegroups.com >> *Date: *Thu, 21 Jul 2011 17:15:29 +0530 >> *To: * >> *ReplyTo: *algogeeks@googlegroups.com >> *Subject: *[algogeeks] rever

Re: [algogeeks] reverse a line.

2011-07-21 Thread Saurabh
on Airtel > -- > *From: * Saurabh > *Sender: * algogeeks@googlegroups.com > *Date: *Thu, 21 Jul 2011 17:15:29 +0530 > *To: * > *ReplyTo: * algogeeks@googlegroups.com > *Subject: *[algogeeks] reverse a line. > > what is the best way to reverse a line word by word

Re: [algogeeks] reverse a line.

2011-07-21 Thread Tushar Kanta Rath
1st reverse each word in place.then reverse the whole sentenceit will give the required *answer* -- Tushar Kanta Rath, Master In Computer Application MNNIT, Allahabad -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" grou

Re: [algogeeks] reverse a line.

2011-07-21 Thread mageshthegreat
Push each word into the stack and pop it out at the end of the line. Sent from BlackBerry® on Airtel -Original Message- From: Saurabh Sender: algogeeks@googlegroups.com Date: Thu, 21 Jul 2011 17:15:29 To: Reply-To: algogeeks@googlegroups.com Subject: [algogeeks] reverse a line. what

[algogeeks] reverse a line.

2011-07-21 Thread Saurabh
what is the best way to reverse a line word by word in c or c++??? ex - my name is john Then after reversing it will be like - john is name my Regards Saurabh -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, sen