SW006014 Microchip Technology, SW006014 Datasheet - Page 120

C COMPILER MPLAB FOR PIC24 MCU

SW006014

Manufacturer Part Number
SW006014
Description
C COMPILER MPLAB FOR PIC24 MCU
Manufacturer
Microchip Technology
Type
MPLAB® C Compilerr
Series
PIC24r
Datasheet

Specifications of SW006014

Supported Families
PIC24
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24
Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC24
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
DS51456E-page 116
memcmp (Continued)
}
Output:
buf1 : Where is the time?
buf2 : Where did they go?
buf3 : Why?
6 characters of buf1 and buf2 are equal
buf2 comes before buf1
buf1 comes before buf3
printf("\n");
res = memcmp(buf1, buf2, 20);
if (res < 0)
else if (res == 0)
else
printf("\n");
res = memcmp(buf1, buf3, 20);
if (res < 0)
else if (res == 0)
else
printf("buf1 comes before buf2\n");
printf("20 characters of buf1 and buf2 "
printf("buf2 comes before buf1\n");
printf("buf1 comes before buf3\n");
printf("20 characters of buf1 and buf3 "
printf("buf3 comes before buf1\n");
"are equal\n");
"are equal\n");
© 2008 Microchip Technology Inc.

Related parts for SW006014