What you have written is the most efficient way to check that condition in general. Don
On Oct 25, 9:37 am, Atul Singh <[email protected]> wrote: > Is there a efficient way to check the range of numbers in C++ > > Suppose if x is to checked in range a and b both exclusive > > ie if ( x > a && x < b ) > > Is there any efficient way of doing this. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
