Analog Devices VISUALDSP++ 3.5 Manual page 360

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

C Run-Time Library Reference
Return Value
The
function returns no value.
qsort
Example
#include <stdlib.h>
float a[10];
int compare_float (const void *a, const void *b)
{
float aval = *(float *)a;
float bval = *(float *)b;
if (aval < bval)
return -1;
else if (aval == bval)
return 0;
else
return 1;
}
qsort (a, sizeof (a)/sizeof (a[0]), sizeof (a[0]), compare_float);
See Also
bsearch
3-106
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents