compare two values in an array

Hi, I need to compare two values in a double*, from this comparison i want to compute which is smaller in size.

Any ideas in how I could do this?

Ryan
If dp is a pointer to double, then *dp is the double.

then use operator<, ie, if( *dp < *otherdp )
Topic archived. No new replies allowed.