like you never have made a mistake trying to help some else! Why offer any help when people like you are so quick to ridicule others.
As i said I don't use recursion - i came up with a quick example which had one addition if/then test. Also the strlen is called because it was not about efficiently but size in this case. The calling parameters are fixed. Do YOU have a better solution. You know nothing about me and take a personal attacks against my work - the way your acting concerns me that your a smug know it all. Lighten UP!! Mickey --- Thomas Hruska <[EMAIL PROTECTED]> wrote: > Mickey Mathieson wrote: > > > > --- David <[EMAIL PROTECTED]> wrote: > > > >> Mickey Mathieson a écrit : > >>> I am new to the group and have noticed a lot of > >> questions of > >>> recursion. > >>> A problem that is suitable for recursion should > >> produce a smaller > >>> function that if the problem was solved without > >> recursion. This has > >>> not been the case from the postings that i have > >> looked at. > >>> I have provided an example of recursion done > >> correctly to reverse a > >>> string. Notice how short and compact the code > is. > >> This is the object > >>> of recursion - less code at the expense of more > >> memory being used. > >>> Mickey M. > >>> senior software engineer > >>> http://www.constructionpartner.com > >>> > > The second if test is not needed MY MISTAKE!!! > > Not paying complete attention. > > > > If you think you can come up with a BETTER > RECUSIVE > > SOLUTION lets see it! Otherwise your blowing wind. > > Now you have me concerned that a professional app. > is being written by > someone who isn't even testing simple examples. If > you can't be > bothered to test the simple examples you write, can > you be bothered to > thoroughly test your main application? Experience > tells me: Probably > not. You aren't exactly representing the company > you work for very well. > > BTW, c-prog is Google searchable. You may want to > consider using > professional language when sending messages to the > list when you > associate yourself with the company you work for. > Your employer (and > potential customers!) may also periodically search > Google and might come > up with this e-mail thread. > > -- > Thomas Hruska > CubicleSoft President > Ph: 517-803-4197 > > *NEW* VerifyMyPC 2.2 > Change tracking and management tool. > Reduce tech. support times from 2 hours to 5 > minutes. > > Free for personal use, $10 otherwise. > http://www.CubicleSoft.com/VerifyMyPC/ > > ____________________________________________________________________________________ The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
