PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 247

PCD C-COMPILER PIC24, DSPIC

PCD COMMAND LINE COMPILER

Manufacturer Part Number
PCD COMMAND LINE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCD COMMAND LINE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1007
Example Files:
Also See:
rand( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
void main()
}
int compar(void *arg1,void *arg2)
}
ex_qsort.c
bsearch()
re=rand()
None
A pseudo-random integer.
The rand function returns a sequence of pseudo-random integers in the range of 0
to RAND_MAX.
All devices
#INCLUDE <STDLIB.H>
int I;
I=rand();
None
srand()
qsort ( nums, 5, sizeof(int), compar);
if ( * (int *) arg1 < ( * (int *) arg2) return –1
else if ( * (int *) arg1 == ( * (int *) arg2) return 0
else return 1;
{
{
233

Related parts for PCD COMMAND LINE COMPILER