[algogeeks] Re: selection problem.....

2008-04-21 Thread deeepanshu shukla
thanks Dave.. Deepanshu On 4/21/08, Dave [EMAIL PROTECTED] wrote: Use a divide-and-conquer algorithm to find the median, rearranging the array so that the values less than the median precede it in the array and the values greater than the median follow it. So the median is a(n/ 2). Now use

[algogeeks] Re: Using macro inside a macro

2008-04-21 Thread Pratyush
Thanks Gene... it solved my problem... Whats so abuse about this type of macro? On Apr 10, 6:36 am, Gene [EMAIL PROTECTED] wrote: On Apr 9, 8:07 am, Pratyush [EMAIL PROTECTED] wrote: I was trying to pass a macro inside a marco... eg #define ABC alpha #define XYZ(expr) #expr

[algogeeks] Re: Using macro inside a macro

2008-04-21 Thread Gene
On Apr 21, 2:27 pm, Pratyush [EMAIL PROTECTED] wrote: Thanks Gene... it solved my problem... Whats so abuse about this type of macro? On Apr 10, 6:36 am, Gene [EMAIL PROTECTED] wrote: On Apr 9, 8:07 am, Pratyush [EMAIL PROTECTED] wrote: I was trying to pass a macro inside a marco...